Export (0) Print
Expand All

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)

Show:
© 2014 Microsoft