]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
manpage: -Wparenthesis
authorWolfgang Bumiller <blub@speed.at>
Mon, 31 Dec 2012 10:14:34 +0000 (11:14 +0100)
committerWolfgang Bumiller <blub@speed.at>
Mon, 31 Dec 2012 10:14:34 +0000 (11:14 +0100)
doc/gmqcc.1

index 581a8e98a2c3b6ed152c345360753c62910917b3..a2a36041cc62fa6bccacacb7af5ba9e7fdc3066c 100644 (file)
@@ -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