[fpc-devel] open array and address of "@" / crash, why?

Martin Frb lazarus at mfriebe.de
Mon Mar 31 17:54:43 CEST 2014


On 31/03/2014 16:42, Howard Page-Clark wrote:
>
> This compiles here (FPC 2.6.5, Win32), and produces the output "101" 
> with no errors.

You are right, I just run with the setting I have in my IDE, without 
further testing.

Just testing the compilation, not running the reslt for now:

This is good:
C:\FPC\rel_2_6_4\gw\bin\i386-win32\fpc.exe project1.lpr

-----------
   C:\FPC\rel_2_6_4\gw\bin\i386-win32\fpc.exe -Criot project1.lpr
or
   C:\FPC\rel_2_6_4\gw\bin\i386-win32\fpc.exe -Cr project1.lpr

Compiling project1.lpr
Fatal: Compilation aborted
An unhandled exception occurred at $004B352B :
EAccessViolation : Access violation
   $004B352B
   $00440720
   $004E9F72
   $004EC4B8
   $004EC4CC
   $004EC4CC

It is the -Cr
For some reason, when compiling in Lazarus, I do not see the trace. 
Seems the IDE stops reading after Compilation aborted

BTW, trying to compile fpc trunk itself,  with -Cr also does not work.




More information about the fpc-devel mailing list