[fpc-devel] Is this a compiler bug ?

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Sep 27 15:11:51 CEST 2012

On 27 Sep 2012, at 15:05, ik wrote:

> The Compiler display two warnings and then it report them as 2 errors.
> I'm using Free Pascal Compiler version 2.6.0 [2012/05/17] for x86_64
> that arrives with Arch-Linux
> Is this a bug of the compiler (reporting errors as warnings), a bug in
> the code itself, or something else ?

The compiler makefile passes the -Sew option to the compiler, which  
instructs it to treat all warnings as errors. As documented at http://wiki.freepascal.org/FPC_JVM/Building#Building_the_compiler_and_RTL 
  , you currently have to pass ALLOW_WARNINGS=1 to make in order to  
build the jvm compiler.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20120927/9f9c18ad/attachment.html>

More information about the fpc-devel mailing list