◄Up► ◄Contents► ◄Index► ◄Back► ─────C/C++ Language───────────────────────────────────────────────────────── Pragma: optimize Syntax: #pragma optimize( "[optimization switch list]", {off | on} ) Summary: Specifies optimizations to be performed. Must appear outside of a function. See also: ◄Optimization Options► The optimization switch list may be zero or more of the following: a, c, e, g, l, n, p, t, w. These are the same letters used with the /O compiler options. For example, #pragma optimize( "lge", off ) Two special forms are supported. The form below turns off all optimization: #pragma optimize( "", off ) The form below restores all optimization switch settings to their original (or default) settings: #pragma optimize( "", on ) -♦-