]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
manpage: -Wdifferent-qualifiers -Wdifferent-attributes
authorWolfgang Bumiller <blub@speed.at>
Sat, 29 Dec 2012 16:38:50 +0000 (17:38 +0100)
committerWolfgang Bumiller <blub@speed.at>
Sat, 29 Dec 2012 16:41:20 +0000 (17:41 +0100)
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.
+.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