Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Deprecated Compiler Options in Visual C++ 2005

In Visual C++ 2005, the following compiler options have been marked as deprecated. These compiler options will continue to work as expected in the current release, but may be removed in a future release.

The following compiler options are now deprecated.

Deprecated option

Use the following option instead

For more information, see

/clr:noAssembly

/LN (Create MSIL Module)

/clr (Common Language Runtime Compilation)

/Fr

/FR

/FR, /Fr (Create .sbr File)

/Ge

None

/Ge (Enable Stack Probes)

/GX

/EH (Exception Handling Model)

/GX (Enable Exception Handling)

/GZ

/RTC (Run-Time Error Checks)

/GZ (Enable Stack Frame Run-Time Error Checking)

/H

None

/H (Restrict Length of External Names)

/Og

/O1, /O2 (Minimize Size, Maximize Speed)

/Og (Global Optimizations)

/QIfist

No compiler option is needed. The compiler has made significant improvements in float to int conversion speed.

Regarding rounding, /QIfist results in generation of the fistp instruction, which uses whatever ambient rounding mode is to do the conversion.

A routine to do this is:

int ftol_ambient(double d) {
   int i;

   __asm {
      fld d
      fistp i
   }
   return i;
}

/QIfist (Suppress _ftol)

/V

None

/V (Version Number)

/Yd

/Z7, /Zi, /ZI (Debug Information Format)

/Yd (Place Debug Information in Object File)

/Ze

None

/Za, /Ze (Disable Language Extensions)

/Zg

None

/Zg (Generate Function Prototypes)

Community Additions

ADD
Show:
© 2015 Microsoft