[gtk+] build: Turn on more warning flags
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] build: Turn on more warning flags
- Date: Fri, 6 Oct 2017 19:28:50 +0000 (UTC)
commit 2ac66328a3edc0838c19b49fcb9468c473936c9c
Author: Benjamin Otte <otte redhat com>
Date: Fri Oct 6 16:13:45 2017 +0200
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.
meson.build | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index cc44973..545e16d 100644
--- a/meson.build
+++ b/meson.build
@@ -247,8 +247,6 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
'-Wmissing-format-attribute',
'-Wmissing-include-dirs',
'-Wlogical-op',
- '-Wno-uninitialized',
- '-Wno-shadow',
'-Werror=redundant-decls',
'-Werror=implicit',
'-Werror=nonnull',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]