[fpc-devel] bug 3626

peter green plugwash at bircd.org
Wed Feb 2 17:10:10 CET 2005

> rstar at mnet-online.de wrote:
> > int64 <> integer ???
> The compiler reports a range check error depending on $R as
> warning or error. So
> where is the problem? What do you expect to happen?
im not going to argue whether this is right or wrong but in delphi at least
$R only affects run time range checking. In delphi that code will give an
error (constant expression violates subrange bounds) even with range
checking off.

More information about the fpc-devel mailing list