On Tue, 19 Sep 2006, Graeme Geldenhuys wrote:
Hi, How do you do memory leak detection using FPC? I know about the -gh parameter, but don't know how to use it, or with what other tools. I develop under Linux on x86.
Just add -gh to the compiler command-line. Run your project from a console, so you can see standard output. When the program is finished, it will give you a detailed list of memory leaks. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal