[Bug c++/59295] useless warning: 'Bar' is already a friend of 'Foo' [enabled by default]

ppluzhnikov at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 16 17:40:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59295

--- Comment #3 from ppluzhnikov at gcc dot gnu.org ---
Author: ppluzhnikov
Date: Wed Apr 16 17:39:45 2014
New Revision: 209444

URL: http://gcc.gnu.org/viewcvs?rev=209444&root=gcc&view=rev
Log:
2014-04-16  Paul Pluzhnikov  <ppluzhnikov@google.com>

    PR c++/59295
    * friend.c (add_friend, make_friend_class): Move repeated friend
    warning under Wredundant_decls.


Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/friend.c



More information about the Gcc-bugs mailing list