X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=doc%2Fgmqcc.1;h=5b54510ffc5a5ca7662c5c1f69362cbc5d0a1ef4;hp=bb260222588cc8a91a8f6fe5afe17957c4489ec2;hb=64ccc88a9e324939ff433ef4aa27cfdc89e8a651;hpb=8bdd0601128d2ae91e95d7990acbf61de89b40d1 diff --git a/doc/gmqcc.1 b/doc/gmqcc.1 index bb26022..5b54510 100644 --- a/doc/gmqcc.1 +++ b/doc/gmqcc.1 @@ -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