From: Wolfgang Bumiller Date: Fri, 28 Dec 2012 18:11:29 +0000 (+0100) Subject: manpage: -Wuninitialized-constant -Wuninitialized-global X-Git-Tag: before-library~440 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=commitdiff_plain;h=898e00f5b427843cad7e0c8646934b14d736f304 manpage: -Wuninitialized-constant -Wuninitialized-global --- diff --git a/doc/gmqcc.1 b/doc/gmqcc.1 index 9d6c5ce..697a3fc 100644 --- a/doc/gmqcc.1 +++ b/doc/gmqcc.1 @@ -261,6 +261,15 @@ the actual attribute syntax is better defined. .TP .B -Wreserved-names Warn when using reserved names such as 'nil'. +.TP +.B -Wuninitialized-constant +Warn about global constants (using the 'const' keyword) with no +assigned value. +.TP +.B -Wuninitialized-global +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. .SH COMPILE FLAGS .TP .B -fdarkplaces-string-table-bug