Whether int64 and qword are taken as ordinal seems to depend on 32 bit / 64 bit.
I think the TS's main intention is not focus on the use case, he/she just wanted to push FPC to its limits to see how far it can handle large memory or at least to make sure it can handle large memory.
No it is not. The code compiles even on 32 bit arm. As Jonas pointed out this is an OS limitation?
First, my delay in replying is because I live in Australia and the time difference causes problems.Jonas wrote "OS X does not support more than 4GB of statically allocated data, even on 64 bit platforms (probably for efficiency reasons)."But this contradicts the Apple developer document.
Also, it seems pointless to have 64 bit addressing if it cannot be used.
This test appears to show that 64-bit addressing is working. If so, why don't the declarations in the first post work?
Why doesn't it bomb out with EOutOfMemory?