[fpc-pascal]bug?
Jonas Maebe
jonas at zeus.rug.ac.be
Fri Oct 12 13:44:26 CEST 2001
On donderdag, oktober 11, 2001, at 08:52 , Jan Feitsma wrote:
> program Bugtest(input,output);
> var
> big : int64;
[snip]
>
> begin { main }
> big := 4294967296; { =2^32 }
The problem is that 1.0.x only supports 32bit constants. The current
1.0.5 gives an error on this line:
bugtest.pp(13,11) Error: Incompatible types: got "S80REAL" expected
"INT64"
In 1.1, support for 64 bit constants has been added and there your
program works correctly.
Jonas
More information about the fpc-pascal
mailing list