| Syntax: | Default: |
| lang(staticConstLinkage[,
yes]) lang(staticConstLinkage, no) |
lang(staticConstLinkage, no) |
This option controls whether const variables are treated as static or extern.
By default, VisualAge C++ treats const variables as extern. Usually, the default setting is appropriate for incremental compile.
The default does not conform to the C++ standard, but facilitates treating header files as sources for builds. If you convert an included file to a primary file, make sure you build with the default. Otherwise variables and functions declared const but not declared external may acquire internal linkage.
Set this option to yes for compatibility with standard C++ or the ANSI C++ language level supported by previous versions of VisualAge C++ and predecessor products.
![]()
Incremental C++ Build
Configuration Files
![]()
Convert Included Source Files to
Primary Source Files
Set Build Options
Build
![]()
Language Options for C++
Build Options for Compliance With the C++
Standard
Build Options for Compatibility with Old
C++ Compilers
