HP aC++/HP C Programmer's Guide (B3901-90036; A.06.26; September 2011)

This option turns on runtime checks for truncation on compiler-generated implicit type
conversions, such as ch = int_val;.
+check=truncate
This option turns on runtime checks for both explicit cast and implicit conversion truncation.
+check=uninit
The +check=uninit option checks for a use of a stack variable before it is defined. If
such a use is detected, an error message is emitted and the program is aborted. The
check is done by adding an internal flag variable to track the definition and use of user
variables.
If the +check=bounds:pointer is on, +check=uninit will check pointer access
for uninitialized memory read (UMR). To enable checking, the runtime system will initialize
the heap objects and stack variables with a special pattern. If the pointer accesses an
area containing the specified pattern for the specified length, then it assumes the read
is UMR. To minimize UMR false positive, the user may change the special pattern and
number of bytes to check by using RTC_UMR environment variable:
RTC_UMR=[INIT=0xnn][:CHECK_SIZE=sz]
where:
INIT specifies the char type value used to initialize heap/local objects. The default
pattern is 0xDE.
CHECK_SIZE specifies the minimum number of bytes used to check for UMR. The
default number is 2.
Also see the +Oinitcheck option to enable compile-time warnings for variables that
may be used before they are set.
Standards Related Options
The compiler accepts the following options related to the ANSI/ISO 9899-1990 Standard
for the C Programming Language, the ANSI/ISO International Standard, and ISO/IEC
14882 Standard for the C++ Programming Language:
-Aa
-Aa
The -Aa option instructs the compiler to use Koenig lookup and strict ANSI for scope
rules. This option is equivalent to specifying -Wc,-koenig_lookup,on and
-Wc,-ansi_for_scope,on.
The default is on for C++, but off for C. Refer to the -Ae option for C-mode description.
The standard features enabled by -Aa are incompatible with earlier C and C++ features.
100 Command-Line Options