summaryrefslogtreecommitdiff
path: root/meson.build
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 /meson.build
parentef3a09499f918d575493915fd80f0d6bb232fb88 (diff)
downloadefl-568359366985066b3346df0d1161d4c9cdd062cd.tar.gz
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
Diffstat (limited to 'meson.build')
-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 = [
'-fvisibility=hidden',
'-Wall',
'-Wfloat-compare',
+ '-Wpointer-arith',
'-Wunused-parameter',
'-Wsign-compare',
'-Wno-missing-field-initializers',