HP aC++/HP ANSI C Release Notes (B3901-90037; A.06.26; September 2011)

Contents
1 HP aC++/HP ANSI C release notes...........................................................................................7
2 What’s new in this version........................................................................................................8
Improved GNU compatibility and new GNU features....................................................8
Support for GNU statement expression...................................................................8
Support for _Pragma ("once")...............................................................................9
C++0x language extensions......................................................................................9
Unnamed types and static routines are given globally unique names..........................9
Rvalue references.................................................................................................9
Option to redirect make-dependency..........................................................................9
Support for initialization of Flexible Array Member......................................................10
Improved C++ Demangler.......................................................................................10
Deprecation and removal of options.........................................................................10
3 Product changes in earlier versions..........................................................................................13
New features in version A.06.25..............................................................................13
C99 default C compilation mode (Changed).........................................................14
Full -AA default C++ compilation mode (Changed)................................................14
-Ax option enables support for several C++0x extensions (New)..............................15
Scoped enumeration types ............................................................................15
static_assert..................................................................................................15
Extended friend types....................................................................................16
Rvalue references..........................................................................................16
Objectless references to non-static data members..............................................16
Defaulted and deleted functions .....................................................................17
In C++0x mode, auto is always a type specifier, not a storage-class specifier .......17
Lambdas .....................................................................................................17
C99 features added to C++0x (New)...................................................................18
Mixed string literal concatenations..................................................................18
Rule changes related to determining the type of large literal constants..................18
Variadic macros ...........................................................................................18
_Pragma operator ........................................................................................19
extern template .................................................................................................19
Decimal Floating Point supported in C++ mode (New)............................................19
#pragma STDC FLOAT_CONST_DECIMAL64 (New)..............................................20
#pragma omp task (New)...................................................................................20
#pragma omp taskwait (New).............................................................................21
Performance enhancements for +O1 (Changed)....................................................21
Non-template static data members initialized outside the class no longer treated as
constants in strict mode (Changed).......................................................................21
Enhancements to allow code to run well on current platforms and future multi-core
processors (New)...............................................................................................21
Contents 3