c++/7638: [2003-01-28] inline friend in template class produces strange error msg
reichelt@igpm.rwth-aachen.de
reichelt@igpm.rwth-aachen.de
Tue May 6 16:50:00 GMT 2003
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
More information about the Gcc-bugs
mailing list