[Ecls-list] return values of compile-file when erroneous EVAL-WHEN

Gabriel Dos Reis gdr at cs.tamu.edu
Mon May 19 17:00:22 UTC 2008


Currently, when compiling a file foo.lisp that contains a form like

    (eval-when (:compile-toplevel :load-toplevel)
        ...)

and the evaluation of the "..." is not successful, ECL would rightly
print a message along the line of

  ;; The form ... was not evaluated successfully.
  ;; You are recommened to compile again.

That is good.
However, ECL does not seem to have compile-file return the multiple value
(values nil t t) to indicate that the compilation failed.
This can be confusing for automated tools.

-- Gaby




More information about the ecl-devel mailing list