Optimization
/O1 Minimized space Minimize spaces
/op[-] Improved floating-point consistency improve floating-pt consistency
/o2 Maximum speed Maximize speed
/os Preferred code space favor
/oa assumes no alias assume no aliasing
/ot Preferred code speed favor codes speed
/ob Inline expansion (default n=0) inline expansion (defaults n=0)
/ow assume cross function alias assume Cross-function aliasing
/od Optimizations (defaults) disable optimizations (default) disabled
/OX maximize option. (/OGITYB2/GS) Maximum opts. (/OGITYB1/GS)
/OG enables global optimization to the Enable global optimization
/oy[-] enables frame pointers to omit the enable frame pointer omission
/oi enable the built-in function enable intrinsic functions
-Code Generation-
/G3 for 80386 optimization optimize for 80386
/G4 for 80486 optimization optimize for 80486
/gr[-] Enable C + + RTTI enable C + + RTTI
/g5 for Pentium optimization optimize for Pentium
/g6 for Pentium Pro optimization optimize for Pentium Pro
/gx[-] Enable C + + exception handling (same as/EHSC) enable C + + EH (same AS/EHSC)
/EHs Enable synchronous C + + exception handling enable synchronous C + + EH
/GD optimized for Windows DLLs optimize for Windows DLLs
/GB for mixed models (default) optimize for blended model
/EHa Enable asynchronous C + + exception handling enable asynchronous C + + EH
/GD __cdecl calling convention __cdecl calling convention
/EHC extern "C" defaults to the nothrow extern "C" defaults to Nothrow
/GR __fastcall calling convention __fastcall calling convention
/gi[-] Enable incremental compilation enable incremental compilation
/GZ __stdcall calling convention __stdcall calling convention
/gm[-] Enable minimal rebuild enable minimal rebuild
/GA optimized for Windows applications optimize for Windows application
/GF enable string pooling enabled string pooling
/qifdiv[-] Enable Pentium Fdiv repair enable Pentium Fdiv fix
/GF enables read-only string pooling enable Read-only string pooling