<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 27 Sep 2012, at 15:05, ik wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Monaco; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="font-family: monospace; ">The Compiler display two warnings and then it report them as 2 errors.<br><br>I'm using Free Pascal Compiler version 2.6.0 [2012/05/17] for x86_64<br>that arrives with Arch-Linux<br><br>Is this a bug of the compiler (reporting errors as warnings), a bug in<br>the code itself, or something else ?<br></span></span></blockquote></div><br><div>The compiler makefile passes the -Sew option to the compiler, which instructs it to treat all warnings as errors. As documented at <a href="http://wiki.freepascal.org/FPC_JVM/Building#Building_the_compiler_and_RTL">http://wiki.freepascal.org/FPC_JVM/Building#Building_the_compiler_and_RTL</a> , you currently have to pass ALLOW_WARNINGS=1 to make in order to build the jvm compiler.</div><div><br></div><div><br></div><div>Jonas</div></body></html>