-Wdouble-declaration on by default

This commit is contained in:
Wolfgang (Blub) Bumiller 2012-11-23 23:44:35 +01:00
parent 86f3ef2194
commit d09ccba5d6

1
main.c
View file

@ -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);