Disables all optimizations.
IA-32, IntelĀ® 64, IA-64 architectures
Linux and Mac OS X: |
None |
Windows: |
/Od |
None
OFF |
The compiler performs default optimizations. |
This option disables all optimizations. It can be used for selective optimizations, such as a combination of /Od and /Og (disables all optimizations except global optimizations), or /Od and /Ob1 (disables all optimizations, but enables inlining).
On IA-32 architecture, this option sets the /Oy- option.
Option /Od also implies option /Op. So, intermediate floating-point results are evaluated at extended precision. On IA-32 and IntelĀ® 64 architecture, this may cause the compiler to use x87 instructions instead of SSE instructions. You can use option /fp to independently control the evaluation precision for intermediate results.
Option /Op is deprecated. Therefore, the default behavior of /Od may change in a future compiler release.
Linux and Mac OS X: -O0
Windows: None