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]

[Bug c++/17449] Cannot shut warning off


------- 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


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