[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
stack_cleanup

Description:
Controls when the compiler generates code to clean up the stack.
Compatibility:
This pragma is compatible with the following platform targets:
Prototype:
#pragma stack_cleanup on | off | reset
Remarks:
Turning this option on will disable the deferred stack cleanup after function calls, forcing the compiler to remove arguments from the stack after every function call. Although this option slows down execution, it reduces stack usage, making it less likely the stack will intrude on other parts of the program.
This pragma does not correspond to an option in any settings panel. To check whether this option is on, use __option (stack_cleanup), described in "Checking Options." By default, this pragma is off.
[ 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