[cxx-abi-dev] Mangling of anonymous unions?

Mark Mitchell mark at codesourcery.com
Thu Dec 19 07:23:06 UTC 2002



--On Thursday, December 19, 2002 08:14:00 AM +0100 Martin von Loewis 
<loewis at informatik.hu-berlin.de> wrote:

>> After working on this for a bit, I like #3 much less; it doesn't work
>> very well for namespace-scope unions, which we might as well mangle the
>> same way.
>
> But this is irrelevant for the ABI, right? If the ABI issue is just about
> such unions in inline functions, I think treating them like string
> literals is appropriate.

That would certainly work, too.  Jason's right, however; if we can do
the same things for namespaces that's nice.  Some day we'll have to
merge translation units (for export) and the more things have predictable
names the better off we'll be, I have a feeling.

I have no strong feeling, though.

-- 
Mark Mitchell                mark at codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com



More information about the cxx-abi-dev mailing list