summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2020-05-12 16:56:01 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2020-05-12 16:56:01 +0200
commit568359366985066b3346df0d1161d4c9cdd062cd (patch)
tree4fc66edf91d0fb83f9839b5d13fbcf305131d403
parentef3a09499f918d575493915fd80f0d6bb232fb88 (diff)
build: enable -Wpointer-arith for dev builds
Summary: this is a useful warning to avoid errors when calculating pointer offsets Depends on D11816 Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D11817
-rw-r--r--meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 9924670a73..b55855920c 100644
--- a/meson.build
+++ b/meson.build
@@ -76,6 +76,7 @@ dev_cflags_try = [
76 '-fvisibility=hidden', 76 '-fvisibility=hidden',
77 '-Wall', 77 '-Wall',
78 '-Wfloat-compare', 78 '-Wfloat-compare',
79 '-Wpointer-arith',
79 '-Wunused-parameter', 80 '-Wunused-parameter',
80 '-Wsign-compare', 81 '-Wsign-compare',
81 '-Wno-missing-field-initializers', 82 '-Wno-missing-field-initializers',