buildapp icon indicating copy to clipboard operation
buildapp copied to clipboard

Question about compilation

Open rpgoldman opened this issue 1 year ago • 1 comments

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 avatar Jan 21 '24 19:01 rpgoldman

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

rpgoldman avatar Jan 21 '24 19:01 rpgoldman