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.
/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
/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
/V (Version Number)
/Yd
/Z7, /Zi, /ZI (Debug Information Format)
/Yd (Place Debug Information in Object File)
/Ze
/Za, /Ze (Disable Language Extensions)
/Zg
/Zg (Generate Function Prototypes)