Option Type | Default Value | #pragma options | C | C++ |
-qoption | Recognize all C++ keywords | - | x |
Syntax
-qkeyword=name -qnokeyword=name
Purpose
This option controls whether the specified name is treated as a keyword or an identifier
whenever it appears in your C++ source.
By default all the built-in keywords defined in the C++ standard are reserved as keywords.
You cannot add keywords to the C++ language with this option. However, you can use it to
enable built-in keywords that have been disabled using -qnokeyword=name.
Notes
For example, you can reinstate bool with the following option:
xlC -qkeyword=bool
List of Batch Compiler Options and Their Defaults
Equivalent Batch Compile-Link and Incremental
Build Options