diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2020-05-12 16:56:01 +0200 |
---|---|---|
committer | Xavi Artigas <xavierartigas@yahoo.es> | 2020-05-12 16:56:01 +0200 |
commit | 568359366985066b3346df0d1161d4c9cdd062cd (patch) | |
tree | 4fc66edf91d0fb83f9839b5d13fbcf305131d403 /meson.build | |
parent | ef3a09499f918d575493915fd80f0d6bb232fb88 (diff) | |
download | efl-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.build | 1 |
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', |