[fpc-pascal] Re: Strange error with Pa_IsFormatSupported from portaudio when used with Pascal headers AND Mac OS X.

Schindler Karl-Michael karl-michael.schindler at physik.uni-halle.de
Mon Mar 8 13:40:18 CET 2010


Am 08.03.2010 um 10:04 schrieb Jonas Maebe:

> 
>> gdb backtrace shows that it is deep down in Apple libs (probably the reason, why it does not happen in linux).
> 
> Have you tried disabling all FPU exceptions? Many Apple frameworks indeed perform invalid FPU operations. See e.g. http://community.freepascal.org:10000/bboards/message?message_id=276227&forum_id=24094 for more details.
> 
> Jonas

Jonas, you are my hero. This was exactly the problem. After adding " SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow, exUnderflow, exPrecision]); " everything works. I am trying now some more details. Thanks a lot.

Karl-Michael Schindler



More information about the fpc-pascal mailing list