In Microsoft Visual Studio 2008 Service Pack 1 (SP1), one of the following problems occurs.
Symptom 1
When you compile a project that contains the
/arch:SSE(2) option and
the /fp:except option, you receive the following error message:
Command line error D8016:'/arch:SSE2' and '/fp:except' command-line options are incompatible.
Symptom 2
When you run a Visual C++ application that contains an uninitialized floating-point, a floating-point exception occurs. Additionally, you may receive the following error message:
0xC0000090: Floating-point invalid operation
This problem occurs if the following conditions are true:
- You add the /fp:except option to the compiler option list to disable the floating-point exception.
-
The source code contains an uninitialized floating-point variable.
- The uninitialized floating-point variable is located in a memory that contains a signaling not-a-number (NaN) value.
Symptom 3
When you compile an unmanaged Visual C++ application by using the
/O2 compiler option or the
/Ox compiler option, you receive an exception that resembles the following:
Unhandled exception at 0x00401342 in file_name: 0xC0000090: Floating-point invalid operation.
Notes- The number 0x00401342 may change at different times.
- The exception is not generated when you turn on the /Od compiler option or the /O1 compiler option.