-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inter-dependent forms inside eval-when #24
Comments
Thanks for the report! I'll look into this. BTW, what's the usecase with loading the codec without building via ASDF? Asking because if the implementation does not perform implicit compilation of the source, the performance would be terrible. |
I used |
Hi, Could you please check if this branch fixes the issue for you? |
Getting this: The variable CL-JPEG::OPTIMIZE is unbound. (in form starting at line: 130, column: 0, position: 5178) |
The project has been split into several files now, and jpeg.lisp depends on conditions.lisp and globals.lisp. When I do: (load "package.lisp")
(compile-file "globals.lisp")
(compile-file "conditions.lisp")
(compile-file "jpeg.lisp") …then in a fresh lisp process: (load "package.lisp")
(load "globals.fasl")
(load "conditions.fasl")
(load "jpeg.fasl") …it seems to work. |
Eval this to reproduce the bug:
To fix it separate the macro forms that are dependent upon each other. Perhaps the define-constant macro also needs to be wrapped in an eval-when.
The text was updated successfully, but these errors were encountered: