[ First ] [ Previous ] [ Next ] [ Last ] [ Manuals ]
ANSI Strict

The ANSI Strict option in the C/C++ Language Panel affects several extensions to the C language supported by the CodeWarrior compiler. The extensions are:
In each case the extension is only available if the ANSI Strict setting is off. If the ANSI Strict setting is on, then these extensions to the ANSI C standard are disabled.
You cannot turn on the extensions controlled by the ANSI Strict setting individually. They are all on or off depending upon the setting.
This setting may affect how the compiler handles enumerated constants. See "Enumerated Types" for more information.
This setting may also affects the main() function for C++ programs. See "Implicit Return Statement for main().".
The ANSI Strict option corresponds to the pragma ANSI_strict. To check whether this option is on, use __option (ANSI_strict).
See also "ANSI_strict." and "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