This is the mail archive of the gcc-patches@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: What's this?


Robert L Krawitz <rlk@tiac.net> writes:

> bar.C:4: warning: friend declaration `class foo<T> bar(int, const class foo<T> &)'
> bar.C:4: warning:   declares a non-template function

Here's a patch to the egcs FAQ for it to explain how to fix your code.
Jeff, ok to install?

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil

faq.diff


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