[fpc-devel] OpenGL and glut bugs in Freepascal 2.1.1 runningwith Mac Os X Tiger ?
Jonas Maebe
jonas.maebe at elis.ugent.be
Thu Nov 3 12:05:30 CET 2005
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
More information about the fpc-devel
mailing list