[Lazarus] HEAPTRACE IFDEF

Sven Barth pascaldragon at googlemail.com
Tue May 3 17:15:41 CEST 2016


Am 03.05.2016 15:49 schrieb "Aradeonas" <aradeonas at operamail.com>:
>>
>> AFAIK, it's because it's not technically possible.
>
> As an amateur can I ask why?

Because -gh does not trigger the recompilation of used units as internally
it basically only adds another unit to the main program's uses clause. Thus
any define for the presence of the heaptrace unit would only work in the
main program file and there you use the variant with declared() anyway...

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160503/ec343caa/attachment-0003.html>


More information about the Lazarus mailing list