]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - doc/gmqcc.1
manpage: -Wdifferent-qualifiers -Wdifferent-attributes
[xonotic/gmqcc.git] / doc / gmqcc.1
index bb260222588cc8a91a8f6fe5afe17957c4489ec2..5b54510ffc5a5ca7662c5c1f69362cbc5d0a1ef4 100644 (file)
@@ -270,6 +270,14 @@ assigned value.
 Warn about global variables with no initializing value. This is off by
 default, and is added mostly to help find null-values which are
 supposed to be replaced by the untyped 'nil' constant.
 Warn about global variables with no initializing value. This is off by
 default, and is added mostly to help find null-values which are
 supposed to be replaced by the untyped 'nil' constant.
+.TP
+.B -Wdifferent-qualifiers
+Warn when a variables is redeclared with a different qualifier. For
+example when redeclaring a variable as \'var\' which was previously
+marked \'const\'.
+.TP
+.B -Wdifferent-attributes
+Similar to the above but for attributes like "[[noreturn]]".
 .SH COMPILE FLAGS
 .TP
 .B -fdarkplaces-string-table-bug
 .SH COMPILE FLAGS
 .TP
 .B -fdarkplaces-string-table-bug