From: Wolfgang (Blub) Bumiller Date: Fri, 23 Nov 2012 22:44:35 +0000 (+0100) Subject: -Wdouble-declaration on by default X-Git-Tag: 0.1.9~293 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=d09ccba5d63b46f6027417780080ba8d710b995c;p=xonotic%2Fgmqcc.git -Wdouble-declaration on by default --- diff --git a/main.c b/main.c index a73f3f1..73e813d 100644 --- a/main.c +++ b/main.c @@ -446,6 +446,7 @@ int main(int argc, char **argv) { options_set(opts_warn, WARN_ASSIGN_FUNCTION_TYPES, true); options_set(opts_warn, WARN_PREPROCESSOR, true); options_set(opts_warn, WARN_MULTIFILE_IF, true); + options_set(opts_warn, WARN_DOUBLE_DECLARATION, true); options_set(opts_flags, ADJUST_VECTOR_FIELDS, true); options_set(opts_flags, FTEPP, false);