[Customdrawn] Some patches for dialogs and palette

Michael Schnell mschnell at lumino.de
Wed Sep 12 14:18:25 CEST 2012


On 09/12/2012 01:53 PM, Graeme Geldenhuys wrote:
>  I assume Lazarus IDE passes these settings correctly to the FPC 
> compiler.
Do you suggest that this is used for the packet libraries, as well ?

I tested forcing a range check on an open array in OnCreate (with GTK2)

Here I don't get a range check error by default, but I can activate 
range checking in the project options and then I do get the error trap.

Thus I recon that the project option setting only is used for the 
project source files, not for the packets.

it seems that in ~\.fpc.cfg -Cr is only active if DEBUG is set.

Now don't know if DEBUG is set  when the packet is compiled.

OTOH it _is_ obvious that range checking is active here. Otherwise I 
would not get this error message at all. (And I do feel that Range 
checking is not active when you compile the UserDrawn package files.)

-Michael






More information about the Customdrawn mailing list