[fpc-devel] Exception problems in FPC 3.0.0

Joost van der Sluis joost at cnoc.nl
Mon Oct 26 22:06:06 CET 2015

Did you compile fpc yourself, or used a binary release? If you did it yourself, please try 3.0.1. There was a last minute fix that did not make it into the source-archive.

Joost Op 26-10-15 20:39 schreef Sergio Flores:
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:

SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow, exUnderflow, exPrecision]);


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?


fpc-devel maillist  -  fpc-devel at lists.freepascal.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20151026/53e75447/attachment.html>

More information about the fpc-devel mailing list