Option name | Type | Default | Description |
---|---|---|---|
-qlanglvl | -qopt | See -qlanglvl. | Selects the C or C++ language level for compilation. |
Option name | Type | Default | Description |
---|---|---|---|
-qaltivec | -qopt | -qnoaltivec | Enables compiler support for VMX vector data types. |
-qasm | -qopt | -qasm=gcc | Controls the interpretation of and subsequent code generation for asm statements. |
-qdigraph | -qopt | See -qdigraph. | Enables the use of digraph character sequences in your program source. |
-qdollar | -qopt | -qnodollar | Allows the $ symbol to be used in the names of identifiers. |
-qkeyword | -qopt | See -qkeyword. | Controls whether a specified string is treated as a keyword or an identifier. |
-qtrigraph | -qopt | -qtrigraph | Enables the use of trigraph character sequences in your program source. |
-qutf | -qopt | -qnoutf | Enables recognition of UTF literal syntax. |
Option name | Type | Default | Description |
---|---|---|---|
![]() |
-qopt | - | Changes the standard search location for the C headers. |
![]() -qcinc |
-qopt | -qnocinc | Instructs the compiler to place an extern "C" { } wrapper around the contents of an include file. |
-qcomplexgccincl | -qopt | -qcomplexgccincl
=/usr/include |
Instructs the compiler to internally wrap #pragma complexgcc(on) and #pragma complexgcc(pop) directives around include files found in specified directories. |
![]() -qcpp_stdinc |
-qopt | - | Changes the standard search location for the C++ headers. |
![]() -qgcc_c_stdinc |
-qopt | - | Changes the standard search location for the gcc headers. |
![]() -qgcc_cpp_stdinc |
-qopt | - | Changes the standard search location for the g++ headers. |
-I | -flag | - | Specifies an additional search path for #include file names that do not specify an absolute path. |
-qidirfirst | -qopt | -qnoidirfirst | Specifies the search order for files included with the #include " file_name" directive. |
-qstdinc | -qopt | -qstdinc | Specifies which files are included with #include <file_name> and #include " file_name" directives. |
Option name | Type | Default | Description |
---|---|---|---|
![]() |
-flag | - | Compiles any file, filename.nnn, as a C++ language file, where nnn is any suffix other than .o, .a, or .s. |
-C | -flag | - | Preserves comments in preprocessed output. |
![]() |
-qopt | See -qcpluscmt. | Enables the recognition of C++ comments in C source files. |
-D | -flag | - | Defines the identifier name as in a #define preprocessor directive. |
-qmbcs, -qdbcs | -qopt | -qnombcs, -qnodbcs | Enables the recognition of multibyte characters in source code. |
-qignprag | -qopt | - | Instructs the compiler to ignore certain pragma statements. |
![]() |
-qopt | - | Causes the compiler to perform syntax checking without generating an object file. |
-qsourcetype | -qopt | -qsourcetype=default | Instructs the compiler to treat all source files as if they are the source type specified by this option, regardless of actual source file name suffix. |
-U | -flag | - | Undefines a specified identifier defined by the compiler or by the -D option. |