Skip to content
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

Question about compilation #40

Open
rpgoldman opened this issue Jan 21, 2024 · 1 comment
Open

Question about compilation #40

rpgoldman opened this issue Jan 21, 2024 · 1 comment

Comments

@rpgoldman
Copy link

I may have broken something in my branch (see #39). Now when I compile dispatched-entry-form, I am getting this compilation note:

; file: /Users/rpg/lisp/buildapp/dumper.lisp
; in: DEFUN DISPATCHED-ENTRY-FORM
;     (MACROEXPAND-1 (BUILDAPP::QUIT 1))
; 
; note: The first argument never returns a value.

;     (LIST
;      `(FORMAT *ERROR-OUTPUT* "Unknown dispatch name '~A', quitting~%"
;               BUILDAPP::BINARY-NAME)
;      (MACROEXPAND-1 (BUILDAPP::QUIT 1)))
; 
; note: deleting unreachable code

Any idea what's causing this? Is it a problem? I'm not even sure what "The first argument" refers to:

  • First argument to macroexpand-1: (BUILDAPP::QUIT 1)?
  • First argument to list: `(FORMAT *ERROR-OUTPUT* "Unknown dispatch name '~A', quitting~%" BUILDAPP::BINARY-NAME)?

Or is it just that we're missing a quote in front of the argument to macroexpand-1?

@rpgoldman
Copy link
Author

Inserting that quote makes the note go away, but I can't say I'm sure I'm doing the right thing.

rpgoldman added a commit to rpgoldman/buildapp that referenced this issue Jan 21, 2024
Maybe the argument to `macroexpand-1` needed a quote?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant