[fpc-devel]New local switch CHECKPOINTER

Martin Schreiber fpmse at bluewin.ch
Sun Aug 8 14:22:34 CEST 2004

Sometimes we have to use memory which is allocated by xlib,  heaptrc.CheckPointer does not like this addresses.
I solved the problem by adding a new local compiler switch {$CHECKPOINTER ON/OFF/DEFAULT}. DEFAULT switches back to the state of commandline option -gc.
Also added stack and data segment tests in heaptrc.CheckPointer for linux.
If you like it, patch for 1.9.4 is attached.

Martin Schreiber
-------------- next part --------------
A non-text attachment was scrubbed...
Name: checkpointer.tar.gz
Type: application/x-tgz
Size: 2611 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20040808/348db011/attachment.bin>

More information about the fpc-devel mailing list