manpage: -Wuninitialized-constant -Wuninitialized-global
authorWolfgang Bumiller <blub@speed.at>
Fri, 28 Dec 2012 18:11:29 +0000 (19:11 +0100)
committerWolfgang Bumiller <blub@speed.at>
Fri, 28 Dec 2012 18:11:29 +0000 (19:11 +0100)
doc/gmqcc.1

index 9d6c5ce..697a3fc 100644 (file)
@@ -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