[Patch] libstdc++/21244

Gabriel Dos Reis gdr@integrable-solutions.net
Wed Apr 27 16:40:00 GMT 2005


Paolo Carlini <pcarlini@suse.de> writes:

| Mark Mitchell wrote:
| 
| > Yes, this change should be safe.  Since anonymous types can't be used
| > with entities that have linkage, this enumeration type can't have
| > appeared in any mangled names.
| 
| Ah, interesting technical details. Thanks!

Well, I do not believe in them, but that does not matter for this patch :-)
Unnamed enumerations or class types should be treated as if given
unique names in the program (just like unnamed namespaces).  But, that
is something to be taken to the committee.

-- Gaby



More information about the Libstdc++ mailing list