build: Warn about ignored qualifiers

https://bugzilla.gnome.org/show_bug.cgi?id=789351
This commit is contained in:
Benjamin Otte 2017-10-23 16:28:38 +02:00
parent dd4c800542
commit 3a8f2ae64f

View File

@ -236,6 +236,7 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
'-Wlogical-op',
'-Wswitch-default',
'-Wswitch-enum',
'-Wignored-qualifiers',
'-Werror=redundant-decls',
'-Werror=implicit',
'-Werror=nonnull',