This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/7874] [3.3/3.4 regression] g++ finds friend functions defined in class-definition but not declared in the enclosing namespace
- From: "mark at codesourcery dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2004 17:10:46 -0000
- Subject: [Bug c++/7874] [3.3/3.4 regression] g++ finds friend functions defined in class-definition but not declared in the enclosing namespace
- References: <20020909155601.7874.gdr@nerim.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From mark at codesourcery dot com 2004-01-14 17:10 -------
Subject: Re: [3.3/3.4 regression] g++ finds friend functions defined in class-definition but not declared in the enclosing namespace
We can't remove it immediately because that's not technically easy, and not
appropriate for Stage 3.
We can't emit warnings because the old warning we would emit would be to
warn about every single friend declaration.
Thanks,
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
----- Original Message -----
From: "giovannibajo at libero dot it" <gcc-bugzilla@gcc.gnu.org>
To: <mark@codesourcery.com>
Sent: Wednesday, January 14, 2004 9:03 AM
Subject: [Bug c++/7874] [3.3/3.4 regression] g++ finds friend functions
defined in class-definition but not declared in the enclosing namespace
>
> ------- Additional Comments From giovannibajo at libero dot it 2004-01-14
17:03 -------
> Mark, shouldn't we also emit a warning when trying to compile the
deprecated
> construct? Otherwise, given how many C++ changes we already have for 3.4,
we
> could remove it immediatly.
>
> --
>
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7874
>
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug, or are watching someone who is.
>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7874