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]

Re: Internal compiler error when using friends inside templates inside namespace g++ 2.95.2


> The following generates an internal compiler error on line 3
>
>namespace NAM {
>    template <class T> class Handle {
>        template <class U> friend class Handle; // <----------- it dies
here.
>    };
>}

Thank you for the bug report.  This has been fixed in the CVS.

--Kriang



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