Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Where I used to write
asm volatile("fldcw %0" : : "m" (0x037f));
the latest toolset now complains
warning: use of memory input without lvalue in asm operand 0 is deprecated
I think the best way to fix that is
volatile unsigned short int control_word = 0x037f;
asm volatile("fldcw %0" : : "m" (control_word));
I hope this saves someone else a few minutes, or
encourages someone to suggest something better.
Well, this seems better for MinGW-only code:
#if defined __STDC_IEC_559__ && defined __MINGW32__
but I don't know that gcc on other x86 platforms
would support it.