[fpc-pascal] Error: Local variables size exceeds supported limit

Jonas Maebe jonas at freepascal.org
Sat Mar 9 11:58:57 CET 2019


On 07/03/2019 21:32, Fabio Luis Girardi wrote:

> I'm trying to use the FPC 3.2.0 beta + Lazarus 2.0.1 with fpCEF3. But 
> when I try compile this package with FPC 3.2.0 I got this error:
> 
> Error: Local variables size exceeds supported limit
> 
> But the same package compiles fine with FPC 3.0.4 and 3.0.5.

FPC 3.2.0 limits the total size of local variables and parameter space 
for a single procedure/function to 2GB on 32 bit and 64 bit targets. On 
FPC 3.0.4 the limit was the maximum size supported by the address space.

The previous size check for the locals was not working correctly 
according to the commit message, but I don't know why this was changed 
like that for 64 bit targets.


Jonas



More information about the fpc-pascal mailing list