Home | 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 Visual C++ Editions.
This option turns off all optimizations in the program and speeds compilation. this option is the default. Because /Od suppresses code movement, it simplifies the debugging process. For information on the compile-for-debugging options, see /Zi, /Z7, and /Zd.
To find this 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 Disable (Debug).