This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/17449] Cannot shut warning off
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Sep 2004 01:33:59 -0000
- Subject: [Bug c++/17449] Cannot shut warning off
- References: <20040913011952.17449.igodard@pacbell.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-09-13 01:33 -------
Huh, the warning gives how to shut off the warning:
pr17449.cc:4: warning: friend declaration `A<T>& operator<<(A<T>&, B)' declares a non-template
function
pr17449.cc:4: warning: (if this is not what you intended, make sure the function template has already
been declared and add <> after the function name here) -Wno-non-template-friend disables this
warning
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17449