[an error occurred while processing this directive]

HP OpenVMS Systems

ask the wizard
Content starts here

C++ symbol name mangling and decoration? (take II)

» close window

The Question is:

 
Our build procedures for our product, which is mostly in C and Fortran, stores
 all object modules from compilation in libraries as input for linking. We are
 starting to use C++ too. C++ function names are longer than C function names
 because of name mangl
ing. $ LIB/LIS/NAMES module.olb shows only max. the first 31 char of C++
 mangled function names. Does the OpenVMS LIBRARY function fully support C++
 object modules?
Thank you.
 
 


The Answer is :

 
  Please see the shareable image cookbook (referenced in the FAQ) and
  the Compaq C++ documentation around name mangling requirements for
  the details of this particular topic -- the OpenVMS Wizard prefers
  to avoid C++ name mangling and name decoration (qv: topic 4848) when
  that is possible.
 

answer written or last revised on ( 22-AUG-2000 )

» close window