* friend.c (do_friend): Make warning a full sentence.
authorGerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Wed, 23 Sep 1998 04:39:00 +0000 (06:39 +0200)
committerGerald Pfeifer <gerald@gcc.gnu.org>
Wed, 23 Sep 1998 04:39:00 +0000 (04:39 +0000)
From-SVN: r22555

gcc/cp/ChangeLog
gcc/cp/friend.c

index 71249d21f777f89f6bbb21d6f5770e57649824d4..15101231d117c6a0710822f21d58ec338164d579 100644 (file)
@@ -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.
index d01ecdafdf1646734bacfd35d75a4a0ff551bf19..89c79282d320ddbd915c2e147c86380615fd174b 100644 (file)
@@ -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;
                }
            }