davemds pushed a commit to branch master.

http://git.enlightenment.org/bindings/python/python-efl.git/commit/?id=0b03f8b2f3ccd5e97920a737065c237fa6ccb2a7

commit 0b03f8b2f3ccd5e97920a737065c237fa6ccb2a7
Author: Dave Andreoli <d...@gurumeditation.it>
Date:   Mon Oct 24 21:15:03 2016 +0200

    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
 ]
 

-- 


Reply via email to