tweak message
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Feb 1998 13:35:02 +0000 (13:35 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 13 Feb 1998 13:35:02 +0000 (13:35 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17965 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/cp/friend.c

index 7263e64..028706a 100644 (file)
@@ -394,7 +394,7 @@ do_friend (ctype, declarator, decl, parmdecls, flags, quals, funcdef_flag)
            {
              static int explained;
              cp_warning ("friend declaration `%#D'", decl);
-             warning ("  will not be treated as a template instantiation");
+             warning ("  declares a non-template function");
              if (! explained)
                {
                  warning ("  unless you compile with -fguiding-decls");