HPlogo HP C++ Version A.10.40 Release Notes: HP 9000 Computers > Chapter 1 New and Changed Features

Version A.10.26 Features

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

New and changed features in this HP C++ version A.10.26 are listed below. They apply to HP-UX 10.x operating systems.

New and Changed Features

The new and changed features for A.10.26 are listed below.

  • HP C++ (cfront) no longer includes libcodelibs.a. HP C++, however, includes the source for the HP Codelibs Library. You must build the library if you want to use it. The instructions for building the library are in /usr/contrib/codelibs/README.

  • New Compiler Options +ESlit and +ESsfc.

    +ESlit

    Places string literals into the $LIT$ subspace. The $LIT$ subspace is used for read-only data storage. This option can reduce memory requirements and improve run-time speed in multi-user applications.

    Normally the compiler only places floating-point constant values in the $LIT$ subspace, and other constants and literals in the $DATA$ subspace.

    +ESfic

    Replaces millicode calls with inline fast indirect calls. The +ESfic compiler option affects how function pointers are dereferenced in generated code. The default is to generate low-level millicode calls for function pointer calls.

    The +ESfic option generates code that calls function pointers directly, by branching through them.

    NOTE: The +ESfic option should only be used in an environment where there are no dependencies on shared libraries. The application must be linked with archive libraries only. Using this option can improve run-time performance.
  • +p option identifies more source code constructs that may be issues when migrating to HP aC++, which supports ANSI C++ syntax.

  • The +DA option changed so that if you specify +DA and not +DS, the default instruction scheduling is based the +DA option, not the type of system on which you are compiling. Refer to the online help for details about these two options.

  • Any programs that use +eh and also use Setjmp/Longjmp must change the #include from <setjmp.h> to <Setjmp.h>.

  • For task library users, libV3 is no longer required, removing a limitation that existed in A.10.22.

© 1998 Hewlett-Packard Development Company, L.P.