Feature Only in Professional and Enterprise Editions Code optimization is supported only in Visual C++ Professional and Enterprise Editions. For more information, see Visual C++ Editions.
/Ox
This option combines optimizing options to produce the fastest possible program. The effect is the same as using the following options:
Command line | Development environment |
---|---|
/Ob1 | In-line Function Expansion |
/Og | Global Optimizations |
/Oi | Generate Intrinsic Functions |
/Ot | Favor Fast Code |
/Oy | Frame-Pointer Omission |
/Gs | Control Stack Probes |
Note The use of Full Optimization implies the use of the Frame Pointer Omission (/Oy) option.
/O options (Optimize Code) | Compiler Options | Setting Compiler Options