From 0b03f8b2f3ccd5e97920a737065c237fa6ccb2a7 Mon Sep 17 00:00:00 2001 From: Dave Andreoli Date: Mon, 24 Oct 2016 21:15:03 +0200 Subject: [PATCH] some cc don't like the way cython use EINA_LOG macros In some system we saw the compilation fail with this error: efl/eo/efl.eo.c:1137:60: error: format not a string literal and no format arguments [-Werror=format-security] EINA_LOG_DOM_INFO(__pyx_v_3efl_2eo_PY_EFL_EO_LOG_DOMAIN, __pyx_k_Initializing_efl_eo); so just ignore those warnings --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 4dd46b6..9167492 100755 --- a/setup.py +++ b/setup.py @@ -213,6 +213,7 @@ packages = ["efl"] common_cflags = [ "-Wno-deprecated-declarations", # we bind deprecated functions "-Wno-unused-variable", # eo_instance_from_object() is unused + "-Wno-format-security", # some cc don't like the way cython use EINA_LOG macros # "-Werror", "-Wfatal-errors" # use this to stop build on first warnings ]