HP aC++/HP ANSI C Release Notes (B3901-90037; A.06.26; September 2011)
2 What’s new in this version
This chapter gives an overview of the product changes in this version of the HP aC++/HP
C compiler.
HP aC++/HP C compiler version A.06.26 provides leading edge support for C++0x
standard language features, with complete binary compatibility with earlier releases and
-AA compilation mode.
Following are the changes in HP aC++/HP C compiler version A.06.26:
• “Improved GNU compatibility and new GNU features” (page 8)
Support for GNU statement expression◦
◦ Support for GNU _Pragma
• “C++0x language extensions” (page 9)
Globally unique names◦
◦ Rvalue references
• “Option to redirect make-dependency” (page 9)
• “Support for initialization of Flexible Array Member” (page 10)
• “Improved C++ Demangler” (page 10)
• “Deprecation and removal of options” (page 10)
Improved GNU compatibility and new GNU features
Support for GNU statement expression
In this release, HP aC++ compiler provides support for GNU statement expressions in
default compilation mode.
In the GNU C mode of compilation (-Agcc), a compound statement enclosed in
parentheses may appear as an expression. This is now allowed in default compilation
mode, that is, even without -Agcc. This feature allows you to use loops, switches, and
local variables within an expression.
8 What’s new in this version