Commit b43f43db by Jason Merrill

tweak message

From-SVN: r17965
parent 9605fb44
...@@ -394,7 +394,7 @@ do_friend (ctype, declarator, decl, parmdecls, flags, quals, funcdef_flag) ...@@ -394,7 +394,7 @@ do_friend (ctype, declarator, decl, parmdecls, flags, quals, funcdef_flag)
{ {
static int explained; static int explained;
cp_warning ("friend declaration `%#D'", decl); cp_warning ("friend declaration `%#D'", decl);
warning (" will not be treated as a template instantiation"); warning (" declares a non-template function");
if (! explained) if (! explained)
{ {
warning (" unless you compile with -fguiding-decls"); warning (" unless you compile with -fguiding-decls");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment