[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
optimize_for_size

Description:
Controls optimization to reduce the size of object code.
Compatibility:
This pragma is compatible with the following platform targets:
Prototype:
#pragma optimize_for_size on | off | reset
Remarks:
This option lets you choose what the compiler does when it must decide between creating small code or fast code. If this option is on, the compiler creates smaller object code at the expense of speed. If this option is off, the compiler creates faster object code at the expense of size.
Most significantly if this option is on, the compiler ignores the inline directive, and generates function calls to call any function declared inline.
The pragma corresponds to the Optimize for Size option Global Optimizations settings panel. To check whether this option is on, use __option (optimize_for_size), described in "Checking Options."
[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.
Last updated: August 17, 2000