[fpc-devel]Another FPC versus Delphi issue
noog at libero.it
Fri Oct 12 17:36:04 CEST 2001
At 10.45 11/10/2001 +0000, you wrote:
> > a: array [ Integer ] of Integer;
> > Under Delphi (v5) this gives an compile-time error (Data type too
> > large: exceeds 2GB)
> > It seems to me that fpc should give a compile-time error, rather
> > than crash.
>It allocates only 4 bytes for the array.
Why? Isn't Integer a range type?
More information about the fpc-devel