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


Exception Handling

Be selective when using C++ exception handling routines, or not use exceptions at all. CodeWarrior has a zero runtime overhead error handling mechanism. However, using exceptions still adds some code size. The exception tables (data) can get pretty big when using exception handling.

The proposal for Embedded C++ does not allow exception handling. Turn exception handling off as a C++ language option in the target settings. The option is in the C/C++ Language settings panel.


NOTE

The proposed ANSI/ISO standard libraries and the use of the "new" operator will require exception handling. See "Operator New."

[ 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