HP aC++/HP C Programmer's Guide (B3901-90036; A.06.26; September 2011)
-AA
-AA
The -AA option enables the use of the new 2.0 Standard C++ Library, which includes
the new standard conforming (templatized) iostream library. It conforms to the ISO C++
standard.
The –AA option sets -Wc,-koenig_lookup,on and -Wc,-ansi_for_scope,on,
and is the default C++ compilation mode.
Usage:
The standard features enabled by -AA are incompatible with the older Rogue Wave
Standard C++ Library 1.2.1 and Tools.h++ 7.0.6. All modules must be consistent in
using -AA. Mixing modules compiled with -AA with ones that are not is not supported.
NOTE: This option is not supported in legacy HP C. This option is ignored with warnings
in C-mode.
-Aarm
-Aarm
NOTE: This option is deprecated and may not be supported in future releases.
This option enables the Tru64 UNIX C++ Annotated Reference Manual (ARM) dialect.
This dialect was the default for Tru64 UNIX C++ compilers through compiler version 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 the -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.
This is the default C compilation mode, and the following commands are equivalent:
cc
cc -Ae
cc -AC99
Standards Related Options 101