]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
activate -Wfield-redeclared by default
authorWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 16 Aug 2012 13:15:46 +0000 (15:15 +0200)
committerWolfgang (Blub) Bumiller <blub@speed.at>
Thu, 16 Aug 2012 13:15:46 +0000 (15:15 +0200)
main.c

diff --git a/main.c b/main.c
index 260dd3877f448472b5dd36dd4fba7fa34f9908cd..272c493d3c54056c1bad2348dc294b2f59129d94 100644 (file)
--- a/main.c
+++ b/main.c
@@ -370,6 +370,7 @@ int main(int argc, char **argv) {
     /* default options / warn flags */
     options_set(opts_warn, WARN_UNKNOWN_CONTROL_SEQUENCE, true);
     options_set(opts_warn, WARN_EXTENSIONS, true);
+    options_set(opts_warn, WARN_FIELD_REDECLARED, true);
 
     if (!options_parse(argc, argv)) {
         return usage();