[fpc-pascal] FPC 2.4.2 i386 MacOS: Inc broken for Int64's
jonas.maebe at elis.ugent.be
Sun Mar 20 21:27:55 CET 2011
On 20 Mar 2011, at 20:41, Tobias Giesen wrote:
> my app uses the built-in Inc function to add Int64 variables.
> Unfortunately, they are treated as UInt32, so the values are
> truncated as 32 bit values.
> Wow! That is an impressive bug. I assume it is known?
It has been fixed in svn trunk (r16289). It won't be in 2.4.x.
> What's the
> recommendation, which FPC version should I use?
I don't think there is any older FPC version that does not contain it. It remained hidden for so long because it only happened if range or overflow checking was enabled.
> Could it be an
> incompatibility with a specific version of the Developer Tools
> from Apple?
More information about the fpc-pascal