raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=210670c6a698b6c96469a19fbd9dd14d088fcb7a

commit 210670c6a698b6c96469a19fbd9dd14d088fcb7a
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Wed Dec 28 20:11:49 2016 +0900

    warnings - disable y2k and format non literal and float comparison
    
    so... comapring float warnings are 98% noise and no way to shut them
    up without actively changing code beavhiour. i fixed what possibly
    could be issues. don't force this on for everyone as it's almost all
    noise and nothing useful. turn it on in CFLAGS in your envc sometimes
    when you need to double-check but dont have ti on ALL the time as
    otherwise REAL warnings hide int he noise. as per e-devel discussion
    this warning is at best of dubious value - i.e. very little, but it
    does sometimes find something, so then let's SOMETIMEs turn it on and
    not all the time.
    
    y2k warnings are not useful for us. it's all about DISPLAy of time and
    so w'ere fine.
    
    and we use strings in config for some formats which is how it's meant
    to work so these warnings are not really useful for us - at least for
    now, so also turn it off.
---
 configure.ac | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 5253f34..4cf3902 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1038,12 +1038,13 @@ m4_ifdef([v_rev],
     EFL_COMPILER_FLAG([-W])
     EFL_COMPILER_FLAG([-Wpointer-arith])
     EFL_COMPILER_FLAG([-Wshadow])
-    EFL_COMPILER_FLAG([-Wno-missing-field-initializers])
-    EFL_COMPILER_FLAG([-Wfloat-equal])
     EFL_COMPILER_FLAG([-Wuninitialized])
     EFL_COMPILER_FLAG([-Wundef])
     EFL_COMPILER_FLAG([-Wcast-align])
     EFL_COMPILER_FLAG([-Wformat=2])
+    EFL_COMPILER_FLAG([-Wno-missing-field-initializers])
+    EFL_COMPILER_FLAG([-Wno-format-y2k])
+    EFL_COMPILER_FLAG([-Wno-format-nonliteral])
    ])
 
 SUID_CFLAGS=

-- 


Reply via email to