[fpc-devel] Compiler limitations

Jonas Maebe jonas.maebe at elis.ugent.be
Fri May 9 22:52:25 CEST 2008


On 09 May 2008, at 22:43, Vincent Snijders wrote:

> Florian Klaempfl schreef:
>> Miklos Cserzo schrieb:
>>>
>>> Hi Folks,
>>>
>>> according the documentation "Arrays are limited to 2 GBytes in  
>>> size in the default processor mode." Is there another mode  
>>> allowing bigger arrays?
>> 64 Bit mode/compiler.
>
> Except for darwin.
>
> Except it doesn't work:
> http://www.freepascal.org/testsuite/cgi-bin/testsuite.cgi?action=3&run1id=21737&testfileid=2417

Maybe Win64 doesn't support it either.

And note that this test (and the darwin remark) about statically  
allocated arrays. Dynamically allocated arrays don't have such  
limitations.


Jonas



More information about the fpc-devel mailing list