From 898e00f5b427843cad7e0c8646934b14d736f304 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Fri, 28 Dec 2012 19:11:29 +0100 Subject: [PATCH] manpage: -Wuninitialized-constant -Wuninitialized-global --- doc/gmqcc.1 | 9 +++++++++ 1 file changed, 9 insertions(+) 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