/Ox (Full Optimization)
| Overview | How Do I | Compiler Options
Feature Only in Professional and Enterprise Editions Code optimization is supported only in Visual C++ Professional and Enterprise Editions. For more information, see .
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.
To find the Full Optimization option in the development environment, click Settings on the Project menu. Then click the C/C++ tab, and click Optimizations in the Category box. Under Optimizations, click Customize.