ILE C/C++ Compiler Reference

namemangling syntax
.-ansi---.
>>-#--pragma--namemangling--(--+-+-v6-----+--+--------------+-+--)-><
| +-v5-----+ '-,--num_chars-' |
| +-v3-----+ |
| '-compat-' |
'-pop--------------------------'
Description
Chooses the name mangling scheme for external symbol
names generated from C++ source code. The option and pragma are provided
to ensure binary compatibility with link modules created with previous
versions of the compiler. If you do not need to ensure backwards compatibility,
it is recommended that you do not change the default setting of this
option.
Parameters
- ansi
- The name mangling scheme fully supports the most
recent language features of Standard C++, including function template
overloading. ansi is the default.
- v6
- The name mangling scheme is the same as used in the V5R3M0,
V5R4M0, and V6R1M0 versions of the compiler.
- v5
- The name mangling scheme is the same as used
in the V5R1M0 and V5R2M0 versions of the compiler.
- v3
- The name mangling scheme is the same as in versions
of the compiler before V5R1M0.
- compat
- This option is the same as v3,
described previously.
- num_chars
- Specifies the maximum number of allowable characters
in the mangled names. If you do not specify this suboption, the default
maximum is 64000 characters for all settings except v3 and compat, for which the default maximum is 255 characters.
- pop
- Discards the current pragma setting and reverts to the setting
specified by the previous pragma directive. If no previous pragma
was specified, the default setting of ansi is
used.
Note on Usage
The #pragma namemangling directive
is not supported if the RTBND(*LLP64) compile option is used.
[ Top of Page | Previous Page | Next Page | Contents |
Index ]