tweak message
authorJason Merrill <jason@gcc.gnu.org>
Fri, 13 Feb 1998 13:35:02 +0000 (08:35 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 13 Feb 1998 13:35:02 +0000 (08:35 -0500)
From-SVN: r17965

gcc/cp/friend.c

index 7263e6426c02af65f74c924522ff6f02926bc63a..028706ad21b49fa6055657bca665d5037c224586 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");