[fpc-pascal] CMem issue?

Sven Barth pascaldragon at googlemail.com
Tue Mar 8 08:02:06 CET 2016

Am 08.03.2016 01:51 schrieb "silvioprog" <silvioprog at gmail.com>:
> Hello,
> I got an AV in the CMem unit. To reproduce the problem just compile and
run this code below:
> === code ===
> program project1;
> {$mode delphi}
> uses
>   Classes, SysUtils, cmem;
> === /code ===

*Always* put an alternate memory manager as the first unit. I think that
requirement is even documented somewhere...
Also don't use -gh with alternate memory managers. They are *both* memory
managers and thus will lead to conflicting situations.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160308/754d147b/attachment.html>

More information about the fpc-pascal mailing list