This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/7641: friend declaration of nested types doesn't compile
- From: Kriang Lerdsuwanakij <lerdsuwa at users dot sourceforge dot net>
- To: gcc-gnats at gcc dot gnu dot org, gcc-prs at gcc dot gnu dot org, lerdsuwa at gcc dot gnu dot org, dv at vollmann dot ch, gcc-bugs at gcc dot gnu dot org
- Date: Sun, 01 Dec 2002 21:42:24 +0700
- Subject: Re: c++/7641: friend declaration of nested types doesn't compile
- Reply-to: lerdsuwa at users dot sourceforge dot net
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7641
This code has never been handled correctly by gcc or egcs.
Although egcs-1.1.2 accepts it, it behaves the same regardless
of whether the template friend is declared or not, i.e.
that template friend is silently ignored by egcs. So this
is actually not a regression. I mark this report down to
medium priority.
--Kriang