aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Andreoli <dave@gurumeditation.it>2016-10-24 21:15:03 +0200
committerDave Andreoli <dave@gurumeditation.it>2016-10-24 21:15:03 +0200
commit0b03f8b2f3ccd5e97920a737065c237fa6ccb2a7 (patch)
treeec4d1ebc2174f9db119d337b4b0320514f4331d2
parentTests: use correct FDO icon names (diff)
downloadpython-efl-0b03f8b2f3ccd5e97920a737065c237fa6ccb2a7.tar.gz
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
-rwxr-xr-xsetup.py1
1 files changed, 1 insertions, 0 deletions
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
]