Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
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
Article ID: 967211 - View products that this article applies to.
In Microsoft Visual Studio 2008 Service Pack 1 (SP1), one of the following problems occurs.
Symptom 1When 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 2When 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:
This problem occurs if the following conditions are true:
0xC0000090: Floating-point invalid operation
Symptom 3When 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.
Hotfix informationA 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:
http://support.microsoft.com/contactus/?ws=supportNote 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.
PrerequisitesYou must have Visual Studio 2008 Service Pack 1 installed to apply this hotfix.
Restart requirementYou do not have to restart the computer after you apply this hotfix.
Hotfix replacement informationThis hotfix does not replace any other hotfixes.
File informationThe 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.
Collapse this tableExpand this table
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
If these problems occur when you use Visual Studio 2008, use the hotfixes that are described in the following Microsoft Knowledge Base articles:
(http://support.microsoft.com/kb/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."
956089For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
(http://support.microsoft.com/kb/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
(http://support.microsoft.com/kb/824684/LN/ )Description of the standard terminology that is used to describe Microsoft software updates