VMS Help CXX, Qualifiers, /NAMES *Conan The Librarian |
/NAMES /NAMES=(option1,option2) /NAMES=(UPPERCASE,TRUNCATED) (D) Option1 converts all definitions and references of external symbols and psects to the case specified. Option1 values are: Option Usage UPPERCASE Converts to uppercase. AS_IS Leaves the case as specified in the source. Option2 controls whether or not external names greater than 31 characters get truncated or shortened. Option2 values are: Option Usage /NAMES=TRUNCATED Truncates long external names to the first 31 (default) characters. /NAMES=SHORTENED Shortens long external names. A shortened name consists of the first 23 characters of the name followed by a 7- character Cyclic Redundancy Check (CRC) computed by looking at the full name, and then a "$". The default is /NAMES=(UPPERCASE,TRUNCATED). NOTE The I64 C++ compiler has some additional encoding rules that are applied to symbol names after the ABI name mangling is determined. All symbols with C++ linkage have CRC encodings added to the name, are uppercased and shorten to 31 characters if necessary. Since the CRC is computed before the name is uppercased, the symbol name is case-sensitive even though the final name is in uppercase. /NAMES=AS_IS and /NAMES=UPPER are not applicable to these symbols. All symbols without C++ linkage will have CRC encodings added if they are longer then 31 characters and /NAMES=SHORTEN is specified. Global variables with C++ linkage are treated as if they have non-C++ linkage for compatibility with C and older compilers.
|