Re: System compilation failure, CLPPCRE, ASDF, SBCL involved



tim <TimJ@xxxxxxxxxxxx> writes:

On Thu, 28 Feb 2008 10:45:24 -0800, Thomas A. Russ wrote:

COMPILE-FILE also returns three values, with the 2nd and 3rd
corresponding to WARNING-P and FAILURE-P, so this could be what is
triggering the ASDF behavior.


I have noticed that SBCL sometimes returns t in failure-p, even when there
are only warnings and no Error messages, and an output file has been
generated OK. This might explain it.

Interestingly enough, the standard requires FAILURE-P to be T whenver
there are errors or warnings that are not style warnings. So any
warning that isn't a style warning is supposed to set FAILURE-P to T,
even if that is not what one would naively expect.

I suppose the rationale is that if there are non-style warnings, they
may indicate that the code COULD fail to operate correctly and that one
needs to be careful. But if a particular implementation is especially
zealous about producing warnings, then this may cause applications that
were designed with a different understanding of what a warning implies
to conclude that the code is broken.

--
Thomas A. Russ, USC/Information Sciences Institute
.



Relevant Pages

  • Warnings, compilation failures (was Re: Help with cl-yacc)
    ... (Note that SBCL has a bug where it breaks on warnings by ... return value, called FAILURE-P in the standard, will be true. ... default value, NIL, meaning that SBCL does not break on warnings by ... so I claim that it's relatively clear that the condition type for poor ...
    (comp.lang.lisp)
  • Re: System compilation failure, CLPPCRE, ASDF, SBCL involved
    ... I have noticed that SBCL sometimes returns t in failure-p, ... are only warnings and no Error messages, and an output file has been ... That is how COMPILE-FILE is specified to work by the standard: ... failure-p should be true if there were any errors or warnings (besides ...
    (comp.lang.lisp)
  • Re: Is this legal Fortran 77?
    ... >You must have turned on the option to treat warnings as errors. ... I do note that even with the error messages, MS Fortran 5.0 WILL INDEED ... DOES produce the EXE and said EXE works the same. ...
    (comp.lang.fortran)
  • Re: Eval Errors
    ... >> longer printing the error messages yet the strange messages remain. ... >> That looks like a bug to me. ... > IIRC it was determined then that 'eval' focus was to allow testing of ... What warnings a piece of code ...
    (perl.beginners)
  • running cgi off the command line works, but running on the browser fails with a 500 error
    ... Error 500 error is the follwoing ... line 7 -- shown below is prety simple ... use warnings; ... message, I've tried the usual 500 error messages, just wondering if anyone ...
    (perl.beginners)