add more warning flags to non-release builds

Desktop / Enlightenment / Enlightenment - Mike Blumenkrantz [osg.samsung.com] - 7 September 2014 21:57 UTC

apparently we are developers who like to compare doubles incorrectly. this ends now.

###

diff --git a/configure.ac b/configure.ac
index 952085f..78bb466 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1018,7 +1018,11 @@ m4_ifdef([v_mic],
EFL_COMPILER_FLAG([-Wpointer-arith])
EFL_COMPILER_FLAG([-W])
EFL_COMPILER_FLAG([-Wno-missing-field-initializers])
- EFL_COMPILER_FLAG([-Wmaybe-uninitialized])
+ EFL_COMPILER_FLAG([-Wfloat-equal])
+ EFL_COMPILER_FLAG([-Wuninitialized])
+ EFL_COMPILER_FLAG([-Wundef])
+ EFL_COMPILER_FLAG([-Wcast-align])
+ EFL_COMPILER_FLAG([-Wformat=2])
])

SUID_CFLAGS=-fPIE

6f1e58b add more warning flags to non-release builds
configure.ac | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)

Upstream: git.enlightenment.org


  • Share