Build Options for Compliance With the C++ Standard

By default, VisualAge C++ provides several extensions to the C++ standard. In addition, incremental C++ builds perform orderless compilation and cannot enforce all the standard C++ rules that relate to the order of declarations. To make sure your code complies strictly with the standard in all ways other than the order of declarations, build with the options listed below.

The following are default settings. To conform to standard C++, you do not have to explicitly set them.

The following options do not conform to standard C++ by default. Instead, they support extensions to the standard or take advantage of features of VisualAge C++ that usually are desirable. Apply the following settings to C++ source files to make sure they comply with the C++ standard.

Many of the option settings listed above override defaults that support the VisualAge C++ extensions to the standard. Other default values conform to the standard.

The default settings of three other options do not strictly conform to standard C++. However, the default setting is usually appropriate for incremental compile. The defaults facilitate treating header files as primary sources for builds. Eliminating included headers greatly increases the efficiency of C++ incremental builds. If you convert included header files to primary sources, make sure you apply these defaults to the converted sources:



Incremental C++ Build
Configuration Files
C++ Source Files and Source Regions


Set Build Options
Build
Convert Included Source Files to Primary Source Files


Build Options