build: Turn on more warning flags

-Wshadow these days does not overwarn anymore like it did in gcc 4.
There are no warnings inside gtk, so better enable it to keep it that
way.

-Wuninitialized also has no positives, so I'm gonna turn it on just
because.
This commit is contained in:
Benjamin Otte 2017-10-06 16:13:45 +02:00
parent e7b79e2097
commit 2ac66328a3

View File

@ -247,8 +247,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
'-Wmissing-format-attribute', '-Wmissing-format-attribute',
'-Wmissing-include-dirs', '-Wmissing-include-dirs',
'-Wlogical-op', '-Wlogical-op',
'-Wno-uninitialized',
'-Wno-shadow',
'-Werror=redundant-decls', '-Werror=redundant-decls',
'-Werror=implicit', '-Werror=implicit',
'-Werror=nonnull', '-Werror=nonnull',