HP aC++/HP C A.06.20 Programmer's Guide

5.x. Support of this dialect is intended only to ease porting of existing Tru64 UNIX
applications to HP-UX, and not for development of new programs.
For more information on the ARM dialect, refer to the The Annotated C++ Reference
Manual, (Margaret A. Ellis and Bjarne Stroustrup, Addison-Wesley, ISBN 0-201-51459-1,
1990).
-AC89
-AC89
The -AC89 option invokes the compiler in ANSI C89 compilation mode. This option,
when specified with -ext option, invokes a part of ANSI C99 features.
-AC99
-AC99
The -AC99 option invokes the compiler in ANSI C99 compilation mode with its features.
-Ae
-Ae
Setting the -Ae option invokes aC++ as an ANSI C compiler, with additional support
for HP C language extensions.
This option is a synonym for -AC89 -ext option.
For C++, if -Ae is anywhere on the command line, C-mode will be in effect. The options,
-AA and -AP, are ignored with warnings. If both -Ae and -Aa are present, C-mode
will be in effect and the right most option determines whether extended ANSI (-Ae)
or strict ANSI (-Aa) is in effect. To get strict ANSI, both -Ae and -Aa option are
required.
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 41).
-Agcc
This option enables GNU C dialect compatibility. Not all GNU features are available,
for instance, the asm mechanism. See also “-fshort-enums ” (page 41).
110 Command-Line Options