From: Gerald Pfeifer Date: Wed, 23 Sep 1998 04:39:00 +0000 (+0200) Subject: * friend.c (do_friend): Make warning a full sentence. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4be70bc7085b5e201cf2a76f9f8721beb4908910;p=gcc.git * friend.c (do_friend): Make warning a full sentence. From-SVN: r22555 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 71249d21f77..15101231d11 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +Tue Sep 22 21:01:19 1998 Gerald Pfeifer + + * friend.c (do_friend): Make warning a full sentence. + 1998-09-22 Mark Mitchell * parse.y (component_decl_list): Improve error-recovery. diff --git a/gcc/cp/friend.c b/gcc/cp/friend.c index d01ecdafdf1..89c79282d32 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; } }