Jump to content
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
HP.com home

Transition Impacts

HP-UX Software Transition Kit
» 

DSPP Home

» HP STK home
HP-UX STK
» Home
» Overview
» Tools
» Documentation
» Transition impacts
» Identifier types
» Impact list
» Qualifying on HP-UX
» Porting to HP-UX
» FAQ
» Glossary
» Help
» Send us feedback
Site maps
» HP-UX STK
» DSPP
Content starts here

HP aC++ and C compiler impacts summary

 

HP aC++ and C Compiler Impacts Summary

This impact class contains issues related to HP C and aC++ compilers, as well as the migration from cfront CC to HP aC++.

HP aC++ is available on HP-UX 11.0/11i systems on PA platforms, and HP-UX 11i on Integrity servers. The older cfront-based HP CC compiler product is no longer available on any HP-UX platform, and support for it was discontinued on August 1, 2001.

The C++ compilers use different name mangling schemes; hence, as you migrate your software from HP CC to HP aC++, all of the object files and libraries linked into an application must be compiled with aC++.

If you have not yet migrated C++ software from CC to aC++, you might encounter differences that require you to modify your source code.

  • In ANSI C++, illegal constructs are no longer allowed. Other constructs are more clearly defined. Source programs may need to be modified.
  • The template instantiation method has been redefined.
  • The HP aC++ compiler does not support translator mode.
  • The preprocessor for the HP aC++ compiler is implemented in the compiler itself. Command line options that support ANSI preprocessing are still supported, but those that supported K&R preprocessing in cfront are no longer recognized.
  • In HP aC++, exception handling is "On" by default.
Note: To include only aC++ and C compiler impacts when running the scansummary and scandetail tools, use the option:
  +C ACC
To exclude these impacts, use the option:
  -C ACC
For more information on filtering output in reports, see Customizing Your Scan.

For more information

 
»  List of aC++ and C compiler impacts
»  HP aC++ Online Programmer's Guide
»  HP aC++ home page
»  HP C/ANSI C home page
»  HP aC++ Transition Guide (.pdf)
»  Using templates in HP aC++ (.pdf)
Printable version
Privacy statement Using this site means you accept its terms Feedback to DSPP
© 2007 Hewlett-Packard Development Company, L.P.