[libdazzle] build: increase build warnings
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] build: increase build warnings
- Date: Sun, 17 Dec 2017 09:15:25 +0000 (UTC)
commit 1f2ded0f1e991645a7e5c37f774d8bf543f48b92
Author: Christian Hergert <chergert redhat com>
Date: Sun Dec 17 01:15:09 2017 -0800
build: increase build warnings
meson.build | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
---
diff --git a/meson.build b/meson.build
index 7c5f773..05ca11c 100644
--- a/meson.build
+++ b/meson.build
@@ -50,22 +50,33 @@ global_c_args = []
test_c_args = [
'-Wcast-align',
'-Wdeclaration-after-statement',
- ['-Werror=format-security', '-Werror=format=2'],
'-Wformat-nonliteral',
'-Wformat-security',
'-Wmissing-include-dirs',
'-Wnested-externs',
'-Wno-missing-field-initializers',
'-Wno-sign-compare',
- '-Wno-strict-aliasing',
- '-Wno-uninitialized',
'-Wno-unused-parameter',
'-Wpointer-arith',
'-Wredundant-decls',
- '-Wshadow',
'-Wswitch-default',
'-Wswitch-enum',
- '-Wundef',
+ '-Wuninitialized',
+ ['-Werror=format-security', '-Werror=format=2' ],
+ '-Werror=empty-body',
+ '-Werror=implicit-function-declaration',
+ '-Werror=incompatible-pointer-types',
+ '-Werror=pointer-arith',
+ '-Werror=init-self',
+ '-Werror=int-conversion',
+ '-Werror=misleading-indentation',
+ '-Werror=missing-include-dirs',
+ '-Werror=overflow',
+ '-Werror=parenthesis',
+ '-Werror=return-type',
+ '-Werror=shadow',
+ '-Werror=strict-prototypes',
+ '-Werror=undef',
]
if get_option('buildtype') != 'plain'
test_c_args += '-fstack-protector-strong'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]