mangling of function names

Alex Samuel samuel at codesourcery.com
Tue May 16 02:14:27 UTC 2000


dehnert at baalbek.engr.sgi.com (Jim Dehnert) writes:

  Jim> void klasse::methode(struct klasse::methode){}

  Jim> That would mangle as _ZN6klasse7methodeENS_7methodeE.  If both
  Jim> are legitimate, and both may appear, we need to choose one or
  Jim> the other.

It has to be the second one (the fully scoped type); otherwise, it's
ambiguous.  There could always be another struct methode in the global
namespace.




More information about the cxx-abi-dev mailing list