Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP aC++ Version A.03.27 Release Notes: HP Series 9000 > Chapter 1 Features

Version A.03.04 Features

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

Features introduced in the prior release, HP aC++ version A.03.04, are listed below. They apply to HP-UX 11.x operating systems.

The HP aC++ Online Programmer's Guide contains full documentation. (See Chapter 3 of these release notes for access instructions.).

  • The aC++ default template instantiation mechanism has changed to compile-time instantiation (CTTI). For source code containing templates, the new default may result in faster compile-time processing.

    The previous default behavior remains available by specifying the +inst_auto command-line option when compiling and linking. If you provide archive or shared libraries for distribution, you may want to use +inst_auto to insure consistent behavior between each distribution of your libraries.

    Also, if you provide either archive or shared library products, and your customers need to use the prior template instantiation default in their builds, you must compile your libraries by using the +inst_auto option.

    Refer to the HP aC++ Online Programmer's Guide and to the online technical paper, Using Templates in HP aC++, for details about template instantiation and migration. For access instructions, see Chapter 3 of these release notes under Online Documentation..

  • Member templates are supported, including those in pre-compiled headers.

  • Updated versions of the Rogue Wave Standard C++ Library (version 1.2.1) and the Tools.h++ Foundation Class Library (version 7.0.6 ) are provided. HTML documentation for these libraries is also updated; see Chapter 3 of these release notes under Online Documentation.

  • The HP aC++ Online Programmer's Guide has been updated, including additional migration and template information. For access instructions, see Chapter 3 of these release notes under Online Documentation.

  • The technical document, Using Templates in HP aC++, has been updated to describe the new default, compile-time template mechanism and additional information about template libraries. For access instructions, see Chapter 3 of these release notes under Online Documentation.

  • The aC++ compiler on HP-UX 11.x includes support for both the 32-bit data model (ILP32) and the 64-bit data model (LP64). For ILP32, integer, long, and pointer data is 32 bits in size. For LP64, long and pointer data is 64 bits in size, an integer is 32 bits. The default target architecture continues to be determined by the host system and the /usr/lib/sched.models file. The default compilation mode remains unchanged (32-bit).

    The new HP-UX 64-bit Porting and Transition Guide includes extensive 32-bit/64-bit information. 64-bit information is also found in the HP Linker and Libraries User Guide and in the HP aC++ Online Programmer's Guide. For access instructions, see Chapter 3 of these release notes under Online Documentation.

  • New parameters to the +DA[architecture] option allow you to compile in either 32-bit mode or 64-bit mode.

    +DA2.0N (the new name for +DA2.0) specifies 32-bit (narrow) mode for the PA-RISC 2.0 architecture. This is the default on 64-bit systems.

    +DA2.0W specifies 64-bit (wide) mode for the PA-RISC 2.0 architecture. Specifying +DA2.0W generates 64-bit SVR4 Executable and Linking Format (ELF) object files for PA-RISC 2.0. This option is specific to the PA-RISC 2.0 architecture.

  • By default, the new __LP64__ preprocessing macro is defined by the compiler when processing in 64-bit mode. The compiler defines the __PA_RISC2_0 macro for PA2.0 in both 32-bit and 64-bit modes.

    You can use these macros within conditional directives to isolate 64-bit code..

  • New 64-bit system libraries are located in /usr/lib/pa20_64. 32-bit libraries remain in /usr/lib.

  • The +Z compiler option is the default in 64-bit mode (PIC on). The default in 32-bit mode remains non-PIC.

  • Advanced optimization options, +Omultiprocessor and +Oextern, are provided to optimize code for processor configuration and external symbol usage, respectively.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2000 Hewlett-Packard Development Company, L.P.