]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - doc/gmqcc.1
manpage: -Wparenthesis
[xonotic/gmqcc.git] / 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