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

Table Of Contents
Table of Contents
1 HP aC++/HP ANSI C Release Notes...........................................................................................7
2 What’s New in This Version........................................................................................................9
New Features in Version A.06.25.........................................................................................9
C99 default C compilation mode (Changed)................................................................10
Full -AA default C++ compilation mode (Changed).....................................................10
-Ax option enables support for several C++0x extensions (New).................................11
Scoped enumeration types ......................................................................................11
static_assert..............................................................................................................11
Extended friend types..............................................................................................12
Rvalue references.....................................................................................................12
Objectless references to non-static data members...................................................12
Defaulted and deleted functions .............................................................................13
In C++0x mode, auto is always a type specifier, not a storage-class specifier ........13
Lambdas ..................................................................................................................13
C99 features added to C++0x (New)..............................................................................14
Mixed string literal concatenations..........................................................................14
Rule changes related to determining the type of large literal constants.................14
Variadic macros .......................................................................................................14
_Pragma operator ....................................................................................................15
extern template .............................................................................................................15
Decimal Floating Point supported in C++ mode (New)................................................15
#pragma STDC FLOAT_CONST_DECIMAL64 (New).................................................16
#pragma omp task (New)..............................................................................................16
#pragma omp taskwait (New).......................................................................................17
Performance enhancements for +O1 (Changed)...........................................................17
Non-template static data members initialized outside the class no longer treated as
constants in strict mode (Changed)...............................................................................17
Enhancements to allow code to run well on current platforms and future multi-core
processors (New)...........................................................................................................17
New diagnostic messages (New)..................................................................................18
Improved diagnostic messages (Changed)...................................................................18
Enhanced +wendian warnings (New/Changed)...........................................................19
New runtime abort messages (New).............................................................................19
New Features in Version A.06.20........................................................................................19
Decimal floating-point arithmetic (HP-UX 11.31 only) (New).....................................20
Decimal FP support includes the following:...........................................................20
To use decimal FP:....................................................................................................21
Decimal Floating-Point Example.............................................................................22
+annotate=structs (New)...............................................................................................25
Table of Contents 3