<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="Zarafa HTML builder 1.0">
<TITLE></TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT STYLE="font-family: courier" SIZE=2>
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.<br>
<br>
Joost Op 26-10-15 20:39 schreef Sergio Flores:<br>
Hi guys, congrats for the 3.0 release!<br>
<br>
However after upgrading FPC, my Android game now crashes with division by zero exceptions (it happens always in the same place).<br>
<br>
<br>
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).<br>
<br>
If I revert to using the old compiler, no exceptions happen.<br>
<br>
<br>
Note that I have this line in one of my units:<br>
<br>
Initialization<br>
SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow, exUnderflow, exPrecision]);<br>
<br>
End.<br>
<br>
<br>
I masking all of those stuff because it is a requisite for OpenGL graphics.<br>
<br>
<br>
<br>
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?<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<br>
fpc-devel maillist - fpc-devel@lists.freepascal.org<br>
<br>
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel<br>
</FONT>
</P>
</BODY></HTML>