Re: ASDF stops compilation due to warnings on SBCL

Daniel Barlow <[email protected]>
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
Edi Weitz <[email protected]> writes:

> SBCL 0.8.3, ASDF from current CVS. See the full transcript below. I
> only see warnings, no errors. Why does ASDF think that the compilation
> failed?

Because of an arguably unfortunate choice of return values from
compile-files, as specificed by ansi.  asdf thinks the compilation
failed because compile-file returned non-NIL for its tertiary
("failure-p") value.  From the Hyperspec -

  The tertiary value, failure-p, is false if no conditions of type
  error or warning (other than style-warning) were detected by the
  compiler, and true otherwise.

If you want to customise this behaviour (not a completely uncommon
desire), see asdf:*compile-file-failure-behaviour*

-dan

-- 

   http://www.cliki.net/ - Link farm for free CL-on-Unix resources
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA/TAIsHDK5ZnWQiRMRAkXWAKC019ovUAwst9TGjjQgWSoV7+d3GgCZATOn
3MC4EMLudLwugX4PZs29m1E=
=lBMu
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.