This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/28407] [4.2 regression] Issue with anonymous namespace
- From: "jason at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jul 2006 19:53:48 -0000
- Subject: [Bug c++/28407] [4.2 regression] Issue with anonymous namespace
- References: <bug-28407-138@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jason at redhat dot com 2006-07-17 19:53 -------
Subject: Re: [4.2 regression] Issue with anonymous namespace
gdr at integrable-solutions dot net wrote:
> I have always warned people that the
> unnamed namespace transformation to "static" should happen in the
> *back-end*, not in the front-end using language rules, because the
> language rules are slightly different in those cases.
I don't remember ever seeing you mention that before, but it does seem
like an interesting idea. Your comments in the PRs talk about not
changing the C++ linkage (which we obviously shouldn't), but not about
where to implement it.
Jason
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28407