HP aC++/HP ANSI C Release Notes (B3901-90037; A.06.26; September 2011)
HP Code Advisor
This release introduces a new tool "HP Code Advisor", that can be used for detecting
various programmer errors in C/C++ source code. Use this tool to identify potential
coding errors, porting issues and security errors.
The HP Code Advisor is being made available on both HP-UX PA and Integrity servers.
It leverages the advanced analysis capabilities of the C/C++ compilers for the Integrity
servers.
Use "/opt/cadvise/bin/cadvise" to invoke the tool. A brief description is available
with the -help option.
$ /opt/cadvise/bin/cadvise -help
Additional information is available at: http://www.hp.com/go/cadvise
+cond_rodata option (Obsoleted)
The compiler now allocates more data in read-only memory. This option is now obsolete.
The compiler always behaves as if it had been specified. (Note: a previous posting of
these notes contained a typographic error. +cond_rodata was mispelled.)
+[no]dep_name option (New)
+[no]dep_name enforces strict dependent name lookup rules in templates. The default
is +nodep_name.
+expand_types_in_diag option (New)
+expand_types_in_diag expands typedefs in diagnostics so that both the original and
final types are present.
+FPmode option (Enhanced)
+FPmode specifies how the run time environment for floating-point operations should be
initialized at program start up. By default, modes are as specified by the IEEE floating-point
standard: all traps disabled, gradual underflow, and rounding to nearest. See ld(1)
for specific values of mode. To dynamically change these settings at run time, refer
fenv(5), fesettrapenable(3M), fesetflushtozero(3M), and
fesetround(3M).
+Ointeger_overflow (Default Changed)
The default setting for all optimization settings is now
"moderate".+Ointeger_overflow=moderate
+Onolibcalls= option (New)
+Onolibcalls= allows you to turn off optimization for listed fun ctions.
+Onolibcalls=function1,function2,...
42 Product changes in earlier versions