public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/7638: [2003-01-28] inline friend in template class produces strange error msg
@ 2003-05-06 16:49 reichelt
0 siblings, 0 replies; only message in thread
From: reichelt @ 2003-05-06 16:49 UTC (permalink / raw)
To: gcc-bugs, gcc-prs, nobody, tkarkanis
Synopsis: [2003-01-28] inline friend in template class produces strange error msg
State-Changed-From-To: analyzed->closed
State-Changed-By: reichelt
State-Changed-When: Tue May 6 16:49:23 2003
State-Changed-Why:
Here's a shorter testcase:
----------------------------snip here---------------------------
template <typename> struct A
{
friend void foo () {}
void bar(A);
};
template <typename T> void A<T>::bar (A) {}
----------------------------snip here---------------------------
The bug was introduced in gcc 3.1.
Fortunately it has been fixed in gcc 3.2.3, on the 3.3 branch and mainline.
Regards,
Volker
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7638
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-05-06 16:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-06 16:49 c++/7638: [2003-01-28] inline friend in template class produces strange error msg reichelt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).