[fpc-devel] unexpected results with succ() and fpc 2.4.0

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Jan 4 16:13:35 CET 2010


On 04 Jan 2010, at 14:49, Stefan Kisdaroczi wrote:

> Thanks for the fast reply. No Problem to work around this one, but  
> there are 1788 succ() calls :-o in our applications :-)
> That was the only one that did not compile. All others did compile,  
> but some of them will probably not work.

The problem is only with integer constants. It's however quite  
insidious since even enabling range or overflow checking doesn't catch  
this compiler error.

> If its considered a bug i'm fine. Is there already a bugtracker id?  
> Should i add a bugreport?

A bug report is not necessary, I've just fixed it in svn trunk.


Jonas



More information about the fpc-devel mailing list