This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] libstdc++/21244
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: Mark Mitchell <mark at codesourcery dot com>,libstdc++ <libstdc++ at gcc dot gnu dot org>
- Date: 27 Apr 2005 19:52:47 +0200
- Subject: Re: [Patch] libstdc++/21244
- Organization: Integrable Solutions
- References: <426F6534.4050909@suse.de> <426FB40F.60107@codesourcery.com><426FB636.1050406@suse.de>
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