This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: c++/7638: [2003-01-28] inline friend in template class produces strange error msg


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]