On 3 nov 2005, at 10:48, Adriaan van Os wrote:

<snip>
An unhandled exception occurred at $903E68B8 :
EInvalidOp : Invalid floating point operation
<snip>
So it first seems to be some error in the fpu code generation of the compiler. But the strange things is, after running a C-Program which uses glut and open gl everything just works fine. So maybe there is something wrong in the open gl / glut initialization part or some incompatibilities with Mac OS X 10.4
<snip>

Just a guess - could this be the same problem as discussed in the "[fpc-devel] MacOSX: EXC_ARITHMETIC in PerformHIConversion" thread, where Jonas Maebe wrote:

Yes, probably, and that also explains why I can't reproduce this problem (the other problem didn't occur on my system either). You an try whether it's this by adding "uses macpas" to the start of your program, that one turns off the overflow/underflow exceptions.


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

Reply via email to