aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorGerald Pfeifer <pfeifer@dbai.tuwien.ac.at>1998-09-23 06:39:00 +0200
committerGerald Pfeifer <gerald@gcc.gnu.org>1998-09-23 04:39:00 +0000
commit4be70bc7085b5e201cf2a76f9f8721beb4908910 (patch)
tree1f69b60eda4b34d94ec629aaae85a12fcca98404 /gcc
parentb0ec467a7d4951c981d8bfea0ab7417df46e3bfb (diff)
downloadgcc-4be70bc7085b5e201cf2a76f9f8721beb4908910.zip
gcc-4be70bc7085b5e201cf2a76f9f8721beb4908910.tar.gz
gcc-4be70bc7085b5e201cf2a76f9f8721beb4908910.tar.bz2
* friend.c (do_friend): Make warning a full sentence.
From-SVN: r22555
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/friend.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 71249d2..1510123 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+Tue Sep 22 21:01:19 1998 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
+
+ * friend.c (do_friend): Make warning a full sentence.
+
1998-09-22 Mark Mitchell <mark@markmitchell.com>
* parse.y (component_decl_list): Improve error-recovery.
diff --git a/gcc/cp/friend.c b/gcc/cp/friend.c
index d01ecda..89c79282 100644
--- a/gcc/cp/friend.c
+++ b/gcc/cp/friend.c
@@ -459,7 +459,7 @@ do_friend (ctype, declarator, decl, parmdecls, flags, quals, funcdef_flag)
warning (" (if this is not what you intended, make sure");
warning (" the function template has already been declared,");
warning (" and add <> after the function name here)");
- warning (" To disable warning use -Wno-non-template-friend");
+ warning (" -Wno-non-template-friend disables this warning.");
explained = 1;
}
}