use -Wno-format-y2k for non-release builds

Desktop / Enlightenment / Enlightenment - Mike Blumenkrantz [osg.samsung.com] - 6 January 2017 12:57 EST

this warning could be useful if one was expecting to always have a 4-digit date to calculate a certain text buffer size, but we will never do this

###

diff --git a/configure.ac b/configure.ac
index 5253f34..fddf1a8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1044,6 +1044,7 @@ m4_ifdef([v_rev],
EFL_COMPILER_FLAG([-Wundef])
EFL_COMPILER_FLAG([-Wcast-align])
EFL_COMPILER_FLAG([-Wformat=2])
+ EFL_COMPILER_FLAG([-Wno-format-y2k])
])

SUID_CFLAGS=

94480c6 use -Wno-format-y2k for non-release builds
configure.ac | 1 +
1 file changed, 1 insertion(+)

Upstream: git.enlightenment.org


  • Share