[pango/compiler-warnings: 4/4] Add a few more warning flags
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/compiler-warnings: 4/4] Add a few more warning flags
- Date: Fri, 2 Aug 2019 02:40:41 +0000 (UTC)
commit 6e70241de63ba7d4412419154142bb5e84995edd
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Aug 1 22:39:25 2019 -0400
Add a few more warning flags
Add warning flags for the just fixed warnings
to the build. This is in order to ensure that
pango builds in ci as a subproject of gtk.
meson.build | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/meson.build b/meson.build
index 1d0b7d2c..619e6f33 100644
--- a/meson.build
+++ b/meson.build
@@ -87,6 +87,7 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
'-Wno-uninitialized',
'-Wno-shadow',
'-Werror=implicit',
+ '-Werror=implicit-fallthrough',
'-Werror=nonnull',
'-Werror=init-self',
'-Werror=main',
@@ -101,6 +102,7 @@ elif cc.get_id() == 'gcc' or cc.get_id() == 'clang'
'-Werror=pointer-to-int-cast',
'-Werror=empty-body',
'-Werror=write-strings',
+ '-Werror=unused-but-set-variable',
'-Wundef', # FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=792481
]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]