More mangling issues

Jim Dehnert dehnert at baalbek.engr.sgi.com
Thu Mar 16 20:45:44 UTC 2000


> From loewis at informatik.hu-berlin.de  Thu Mar 16 04:38:44 2000
> 
> > Why do we half-mangle external declarations? That is, why _Z3foo rather than
> > foo? There is something that reads "[...] and file scope variables are not
> > mangled"
> 
> You are right, that 'int (**A::Afoo)()' declaration should be mangled
> as 'foo'.

We also noted today that we can't mangle "void foo()" as "foo" because
it needs to be distinguished from 'extern "C" foo(int)' and the like.

> I'd prefer to say 'global namespace' instead of 'file
> scope', though.

I'll try to change the terminology.

Jim

-	    Jim Dehnert		dehnert at sgi.com
				(650)933-4272




More information about the cxx-abi-dev mailing list