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:

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?





_______________________________________________

fpc-devel maillist  -  [email protected]

http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to