aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/friend.c
diff options
context:
space:
mode:
authorJason Merrill <jason@gcc.gnu.org>1998-02-13 08:35:02 -0500
committerJason Merrill <jason@gcc.gnu.org>1998-02-13 08:35:02 -0500
commitb43f43dbb8b855d456e24bae04cfae5a93ffd2a7 (patch)
treef505f92c4d68c5d204720d71b491802d9b74f4b2 /gcc/cp/friend.c
parent9605fb441787e96f06381ba50e1e61ef44eb01e6 (diff)
downloadgcc-b43f43dbb8b855d456e24bae04cfae5a93ffd2a7.zip
gcc-b43f43dbb8b855d456e24bae04cfae5a93ffd2a7.tar.gz
gcc-b43f43dbb8b855d456e24bae04cfae5a93ffd2a7.tar.bz2
tweak message
From-SVN: r17965
Diffstat (limited to 'gcc/cp/friend.c')
-rw-r--r--gcc/cp/friend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/friend.c b/gcc/cp/friend.c
index 7263e64..028706a 100644
--- a/gcc/cp/friend.c
+++ b/gcc/cp/friend.c
@@ -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");