VMS Help
CXX, Qualifiers, /PREFIX_LIBRARY_ENTRIES

 *Conan The Librarian

       /PREFIX_LIBRARY_ENTRIES
       /PREFIX_LIBRARY_ENTRIES=(option,...)
       /NOPREFIX_LIBRARY_ENTRIES
       /PREFIX_LIBRARY_ENTRIES=ALL_ENTRIES (D)

    Controls C Run-Time Library (RTL) name prefixing. For user
    programs that do not include the ANSI header files but call the
    ANSI library, the compiler automatically adds a DECC$ prefix to
    all C RTL library calls just before the name for the external
    reference or global definition is put into the object file. The
    C RTL shareable image (DECC$SHR.EXE) resides in IMAGELIB.OLB
    with a DECC$ prefix for its entry points. Every external name in
    IMAGELIB.OLB has a DECC$ prefix, and, therefore, has an OpenVMS-
    conformant name space (a requirement for inclusion in IMAGELIB).

    The options are as follows:

    Option           Usage

    EXCEPT=(name,...)The names specified are not prefixed.
    ALL_ENTRIES      All HP C++ names are prefixed.

                     Note: ALL_ENTRIES prefixes all functions defined
                     by the C99 standard, including those that
                     may not be supported in the current run-time
                     library. So calling functions introduced in
                     C99 that are not yet implemented in the OpenVMS
                     C RTL will produce unresolved references to
                     symbols prefixed by DECC$ when the program is
                     linked. In addition, the compiler will issue a
                     CC-W-NOTINCRTL message when it prefixes a name
                     that is not in the current C RTL.
    ANSI_C89_        Only ANSI/ISO C library names are prefixed.
    ENTRIES
    RTL=name         References to the C RTL, indicated by NAME,
                     are generated. NAME must be 1017 characters or
                     fewer.

    If you want no names prefixed, specify /NOPREFIX_LIBRARY_ENTRIES.
  Close     Help