FIX: You receive an error message or an exception when you compile or run an application that has some compiler options turned on in Visual Studio 2008 SP1


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.
  • 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.


Hotfix information

A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Visual Studio 2008 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.


You must have Visual Studio 2008 Service Pack 1 installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The global version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
File nameFile versionFile sizeDateTimePlatform
C2.dll15.0.30729. 40562,361,65603-Mar- 200910:46x86
Cl.exe15.0.30729.4056126, 77603-Mar- 200910:46x86
Clui.dll15.0.30729.405619 2,32803-Mar- 200910:46x86
Clui.dll15.0.30729.405620 9,73603-Mar- 200910:46x86
Clui.dll15.0.30729.405627 7,30403-Mar- 200910:46x86
Clui.dll15.0.30729.405627 9,88003-Mar- 200910:46x86
Clui.dll15.0.30729.405639 1,49603-Mar- 200910:46x86
Clui.dll15.0.30729.405639 2,00803-Mar- 200910:46x86
Clui.dll15.0.30729.405645 7,54403-Mar- 200910:46x86
Clui.dll15.0.30729.405646 4,20003-Mar- 200910:46x86
Clui.dll15.0.30729.405646 7,27203-Mar- 200910:46x86
Clui.dll15.0.30729.405647 2,39203-Mar- 200910:46x86
Link.exe9.0.30729.4056799 ,04803-Mar-200910:46x86


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

If these problems occur when you use Visual Studio 2008, use the hotfixes that are described in the following Microsoft Knowledge Base articles:
955025 FIX: Error message when you compile a project that contains the /arch:SSE(2) option and the /fp:except option in Microsoft Visual Studio 2008: "Command line error D8016:'/arch:SSE2' and '/fp:except'command-line options are incompatible."

956089 FIX: A floating-point exception occurs when an application contains an uninitialized floating-point variable and is compiled with the /fp:expect option in Visual Studio 2008

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates