[fpc-pascal] FPC 2.4.2 i386 MacOS: Inc broken for Int64's
Hello, 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? What's the recommendation, which FPC version should I use? Could it be an incompatibility with a specific version of the Developer Tools from Apple? It used to work fine a few years ago but no longer. Cheers, Tobias ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC 2.4.2 i386 MacOS: Inc broken for Int64's
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? No. Jonas___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal