[fpc-devel] Exception problems in FPC 3.0.0
Sergio Flores
relfos at gmail.com
Mon Oct 26 20:38:52 CET 2015
Hi guys, congrats for the 3.0 release!
However after upgrading FPC, my Android game now crashes with division by
zero exceptions (it happens always in the same place).
I changed nothing in the code, only the compiler changed from a 2.7.x to
3.0.0 (cross compiler windows to Arm binary version obtained from the link
that was distributed in the mailing list last week).
If I revert to using the old compiler, no exceptions happen.
Note that I have this line in one of my units:
Initialization
SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow,
exUnderflow, exPrecision]);
End.
I masking all of those stuff because it is a requisite for OpenGL graphics.
Looking at the breaking changes section of the wiki, I dont see anything
related. Anyone has an idea of what changed that could cause this or at
least how I can debug it?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20151026/c704ae02/attachment.html>
More information about the fpc-devel
mailing list