Advise to use unit Heaptrc as first unit
Original Reporter info from Mantis: Lychee
-
Reporter name:
Original Reporter info from Mantis: Lychee
- Reporter name:
Description:
Free Pascal User's Guide, Chapter 10.5 - Detecting heap memory leaks [1] passage reads:
"The unit that does this is called heaptrc. If you want to use it, you should include it as the first unit in your uses clause. Alternatively, you can supply the -gh switch to the compiler, and it will include the unit automatically for you."
Unit heaptrc should not be included manually, in contrary to what the (above) documentation states.
[1] https://www.freepascal.org/docs-html/user/userse57.html
Mantis conversion info:
- Mantis ID: 32061
- Version: 3.0.2
- Fixed in version: 3.1.1
- Fixed in revision: 1412 (#165a5056).
- Target version: 3.0.4