From 64ccc88a9e324939ff433ef4aa27cfdc89e8a651 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Sat, 29 Dec 2012 17:38:50 +0100 Subject: [PATCH] manpage: -Wdifferent-qualifiers -Wdifferent-attributes --- doc/gmqcc.1 | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.2