[fpc-pascal] CMem issue?

Michael Van Canneyt michael at freepascal.org
Tue Mar 8 09:54:53 CET 2016



On Tue, 8 Mar 2016, Sven Barth wrote:

> 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;
>>
> [Snip]
>> === /code ===
>
> *Always* put an alternate memory manager as the first unit. I think that
> requirement is even documented somewhere...

First paragraph.

http://freepascal.org/docs-html/current/rtl/cmem/index.html

Michael.



More information about the fpc-pascal mailing list