AW: AW: AW: [fpc-devel] MemoryLeak with AS Operator

Jonas Maebe jonas.maebe at
Mon Aug 14 13:19:43 CEST 2006

On 14 aug 2006, at 13:14, Vincent Snijders wrote:

>>> Is valgrind support broken or do
>>> I have to do something beyond setting the valgrind compiler switch?
>> You don't have to do anything but compile all your program's units  
>> and the program itself with the -gv switch.
> Note: all includes the RTL.

No, an RTL compiled without debugging information is also fine.  
What's important is that you don't have any units compiled with  
debugging info, but without the -gv set (because Valgrind cannot  
handle some kinds of debugging info we generate, and -gv works around  


More information about the fpc-devel mailing list