]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
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 9d6c5ce6ef0404c415e2185a942c3c341cf8112f..697a3fc44cf1b326c6fba3605a44ef9087ed6c54 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