From: Wolfgang Bumiller Date: Mon, 31 Dec 2012 10:14:34 +0000 (+0100) Subject: manpage: -Wparenthesis X-Git-Tag: before-library~419 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=f698e796d22929d99ad02d44199e60b2b9b55f3a manpage: -Wparenthesis --- diff --git a/doc/gmqcc.1 b/doc/gmqcc.1 index 581a8e9..a2a3604 100644 --- a/doc/gmqcc.1 +++ b/doc/gmqcc.1 @@ -283,6 +283,11 @@ Similar to the above but for attributes like "[[noreturn]]". Warn when a function is marked with the attribute "[[deprecated]]". This flag enables a warning on calls to functions marked as such. +.TP +.B -Wparenthesis +Warn about possible mistakes caused by missing or wrong parenthesis, +like an assignment in an 'if' condition when there's no additional set +of parens around the assignment. .SH COMPILE FLAGS .TP .B -fdarkplaces-string-table-bug