You may configure how the C/C++ compiler works by setting a variety of options. You set these options in the C/C++ Language settings panel, shown in Figure 2.1. For information on how to display a particular settings panel for a build target, see the CodeWarrior IDE User Guide.
TIP
Each compiler option has a corresponding pragma that you can use in source code to turn that particular option on or off, regardless of the settings in the C/C++ Compiler panel. In addition, there are some pragmas that do not have a corresponding setting in the C/C++ Compiler panel. See "Pragmas Overview" for details on each available pragma.
You may also use a special preprocessor directive in your code to determine the current setting of each option. See "Checking Options" for information on how to use this directive.
Some of the options shown in Figure 2.1 may not appear for some targets. For example, the Direct to SOM item appears for Mac OS.
The C/C++ Language Settings Panel:
Table 2.1 lists where to find information about the other items in this panel.
C/C++ Language Panel options:|
This option
|
Is described here
|
|---|---|