Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2004-08

New local switch CHECKPOINTER

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Martin Schreiber

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

Reply by email