From 877f55e13ba9530a8933e2706350d9b3805a2cf4 Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Wed, 21 Dec 2016 10:42:34 +0100 Subject: [PATCH] Revert "build: enable -Wfloat-equal for compiling" This reverts commit 25792d64165ad4f5f647a36f087af2d2206a6618. 100 patches later the build output is still noisy with all these warnings. I'm happy to see this warnings added to the default CFLAGS once the current warnings have been dealt with. Enable this warning in the local CFLAGS, get the current warnings fixed, add it to the efl default flags to make the warning prominent for newly added code. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index bc45d14263..06946b2400 100644 --- a/configure.ac +++ b/configure.ac @@ -504,7 +504,7 @@ AC_CHECK_TYPES([siginfo_t], [], [], AC_C_BIGENDIAN AC_C_INLINE -EFL_CHECK_COMPILER_FLAGS([EFLALL], [-Wall -Wextra -Wpointer-arith -Wfloat-equal -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections]) +EFL_CHECK_COMPILER_FLAGS([EFLALL], [-Wall -Wextra -Wpointer-arith -Wno-missing-field-initializers -fvisibility=hidden -fdata-sections -ffunction-sections]) EFL_CHECK_LINKER_FLAGS([EFLALL], [-fvisibility=hidden -fdata-sections -ffunction-sections -Wl,--gc-sections -fno-strict-aliasing -Wl,--as-needed -Wl,--no-copy-dt-needed-entries]) case "${build_profile}" in dev)