xartigas pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=568359366985066b3346df0d1161d4c9cdd062cd

commit 568359366985066b3346df0d1161d4c9cdd062cd
Author: Mike Blumenkrantz <[email protected]>
Date:   Tue May 12 16:56:01 2020 +0200

    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
---
 meson.build | 1 +
 1 file changed, 1 insertion(+)

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',

-- 


Reply via email to