HP aC++/HP C A.06.25 Programmer's Guide
NOTE: Some code that is a warning in C may be a fatal error in HP aC++.
-Ag++
This option enables GNU C++ dialect compatibility. Not all GNU features are available,
for instance, the asm mechanism. See also “-fshort-enums ” (page 43).
-Agcc
This option enables GNU C dialect compatibility. Not all GNU features are available,
for instance, the asm mechanism. See also “-fshort-enums ” (page 43).
NOTE: For HP aC++, the -Ae option must also be used.
-AOa and -AOe
-AOa
-AOe
See the following C mode options:
• “-Aa” (page 110)
• “-Ae” (page 111)
In addition to specifying the ANSI C language dialect, allows the optimizer to
aggressively exploit the assumption that the source code conforms to the ANSI
programming language C standard ISO 9899:1990.
At present, the effect is to make +Otype_safety=ansi the default. As new
independently-controllable optimizations are developed that depend on the ANSI C
standard, the flags that enable those optimizations may also become the default under
-AOa or -AOe.
-AP
-AP
The -AP option turns off -AA mode and uses the older C++ runtime libraries.
NOTE: This option is not supported in legacy HP C. This option is ignored with
warnings in C-mode.
-Ax
The -Ax option turns on support for several extensions introduced by the working
paper for the next C++ standard (called C++0x). The -Ax option is available only in
C++ compilation mode and is binary compatible with the -AA compilation mode. See
the HP aC++/HP ANSI C Release Notes for a description of extensions supported.
112 Command-Line Options