Internal compiler error 980711

Alexandre Oliva oliva@dcc.unicamp.br
Thu Nov 26 20:58:00 GMT 1998


On Nov  4, 1998, "B. K. Oxley (binkley) at Home" <binkley@bigfoot.com> wrote:

> XFile.h:81: Internal compiler error 980711.
> XFile.h:81: Please submit a full bug report to `egcs-bugs@cygnus.com'.

> template<class P,
>   class V = typename P::value_type,
>   class S = typename P::size_type>
> class index_proxy
> {
> public:
>   typedef P parent_type;

> private:
>   friend parent_type;

Thanks for your report.  The problem is that you cannot declare a
template argument as a friend.  I installed the simplified testcase
above in the testsuite.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.org}
Universidade Estadual de Campinas, SP, Brasil




More information about the Gcc-bugs mailing list