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
This commit is contained in:
Davide Andreoli 2016-10-24 21:15:03 +02:00
parent 810623dbe4
commit 0b03f8b2f3
1 changed files with 1 additions and 0 deletions

View File

@ -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
]