HP aC++/HP ANSI C A.06.27 Release Notes

+wendian option (New)
This option allows the user to identify areas in their source that might have porting issues when
going between little-endian and big-endian.
+wlint option (Enhanced)
New diagnostic features have been added for this option. New checks have been added for
memory leaks, out-of-scope memory access, null pointer dereference, and out-of-bounds access.
+wsecurity= option (Enhanced)
The +wsecurity option now optionally takes a argument to control how verbosely the security
messages are emitted:
+wsecurity=[1|2|3|4]
The default level is 2.
System-wide option configuration
There is a new ability to configure compiler options on a system-wide basis. The compiler now
reads the configuration file:
/var/aCC/share/aCC.conf (aC++), or
/var/ansic/share/cc.conf(ANSI C), if present.
The options in the configuration file can be specified in the same manner as that for CCOPTS and
CXXOPTS, namely:
[options-list-1][| [options-list-2]]
where options in options-list-1 are applied before the options in the command line, and
options in options-list-2 are applied after the options in the command line.
The final option ordering would be:
<file-options-1><envvar-options-1><command-line-options>
<envvar-options-2><file-options-2>
The config file options before the "|" character set the defaults for compilations, and the options
after the character override the user’s command line settings.
NOTE: No configuration files are shipped along with aC++, but can be installed by the system
administrator, if required.
[NO]PTRS_TO_GLOBALS pragma
#pragma [NO]PTRS_TO_GLOBALS <name>
This pragma aids alias analysis. It must be specified at global scope and immediately precede the
declaration of the variable or entry named. The pragma tells the optimizer whether the global
variable or entry "name" is accessed [is not accessed] through pointers.
-AA -D_HP_NONSTD_FAST_IOSTREAM performance improvement macro
A new performance improvement preprocessor macro, _HP_NONSTD_FAST_IOSTREAM can be
used to improve -AA iostream performance.
This macro enables the following non-standard features:
Sets std::ios_base::sync_with_stdio(false), which disables the default
synchronization with stdio.
Sets std::cin.tie(0), which unties the cin from other streams.
Replaces all occurrences of "std::endl" with "\n".
New features in version A.06.10 39