HP aC++/HP C Programmer's Guide (B3901-90036; A.06.26; September 2011)
Getting Started with Migration..........................................................................247
Writing Code for both Compilers.......................................................................248
Explicit Loading and Unloading of Shared Libraries .............................................248
Memory Allocation..........................................................................................248
Command-Line Differences.....................................................................................249
New Command-Line Options............................................................................249
Obsolete Command-Line Options.......................................................................249
Changed Command-Line Options......................................................................251
Migration Considerations when Debugging.............................................................252
Migration Considerations when Using Exception Handling.........................................252
Exception Handling is the Default......................................................................253
Memory Allocation Failure and operator new......................................................253
Possible Differences when Exiting a Signal Handler..............................................254
Differences in setjmp/longjmp Behavior..............................................................254
Calling unexpected..........................................................................................255
Unreachable catch Clauses...............................................................................256
Throwing an Object having an Ambiguous Base Class..........................................256
Migration Considerations when Using Libraries........................................................258
Standards Based Libraries.................................................................................258
HP C++ (cfront) Compatibility Libraries...............................................................258
IOStream Library.........................................................................................258
Manpages............................................................................................258
Header Files..........................................................................................259
Standard Components Library Not Provided...................................................259
HP C++ (cfront) Complex Library Not Supported.............................................259
Manpages............................................................................................260
Header File...........................................................................................260
HP C++ (cfront) Task Library Not Supported...................................................260
Manpages............................................................................................260
Migration Considerations Related to Preprocessing...................................................260
Obsolete Preprocessor Options..........................................................................261
Migration Considerations Related to Standardization................................................261
Changes in C++ Semantics...............................................................................261
Implicit Typing of Character String Literals.......................................................261
Overload Resolution Ambiguity of Subscripting Operator.................................262
Execution Order of Static Constructors in Shared Libraries................................263
More Frequent Inlining of Inline Code............................................................263
Changes in C++ Syntax...................................................................................264
Explicit int Declaration.................................................................................264
The for Statement, New Scoping Rules...........................................................265
struct as Template Type Parameter is Permitted.................................................265
Base Template Class Reference Syntax Change...............................................266
Tokens after #endif......................................................................................266
overload not a Keyword...............................................................................267
18 Contents