* friend.c (do_friend): Make warning a full sentence.

From-SVN: r22555
This commit is contained in:
Gerald Pfeifer 1998-09-23 06:39:00 +02:00 committed by Gerald Pfeifer
parent b0ec467a7d
commit 4be70bc708
2 changed files with 5 additions and 1 deletions

View 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.

View 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;
}
}