HP aC++/HP C A.06.25 Release Notes

Table Of Contents
+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 users 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.
New Features in Version A.06.10 39