xach / buildapp

Buildapp makes it easy to build application executables with SBCL
http://www.xach.com/lisp/buildapp/
123 stars 27 forks source link

Question about compilation #40

Open rpgoldman opened 9 months ago

rpgoldman commented 9 months ago

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:

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

rpgoldman commented 9 months ago

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