Mail Archives: djgpp/1997/06/10/04:11:45
On 9 Jun 1997, Pieter Schoenmakers wrote:
> This might work. Put it in your program, in main, before the first
> Objective-C call.
>
> {
> volatile short cw;
>
> __asm__ volatile ("fstcw (%0)" : : "g" (&cw));
> cw |= 1; /* Mask the `invalid' exception. */
> __asm__ volatile ("fldcw (%0)" : : "g" (&cw));
> }
>
> Please tell me if it works, and which version of DJGPP you're using.
Please also cc: me when you report if this works. If it does, I would
like to put it into the DJGPP FAQ list. Thanks.
- Raw text -