From f698e796d22929d99ad02d44199e60b2b9b55f3a Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 31 Dec 2012 11:14:34 +0100 Subject: [PATCH] manpage: -Wparenthesis --- doc/gmqcc.1 | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.2