Davide Andreoli ha scritto il 24/10/2016 alle 19:16:
> 2016-10-23 21:35 GMT+02:00 Massimo Maiurana <maiur...@gmail.com>:
> 
>> Davide Andreoli ha scritto il 23/10/2016 alle 21:19:
>>> Hi
>>> this is somehow related to a commit I have done some days ago to cleanup
>>> compiler warnings.
>>>
>>> It build fine here, seems you have a more strict compiler than mine :/
>>> The error is:
>>> cc1: some warnings being treated as errors
>>>
>>> there is a warning:
>>>   "error: format not a string literal and no format arguments
>>> [-Werror=format-security]"
>>> that is threated as an error for you.
>>>
>>> Are you using some particular build environment? cflags?
>>
>> No, I just run setup.py in a default environment and the only option
>> that I feed to it is --prefix. I don't know where that
>> -Werror=format-security comes from, how I disable it on the command line?
>>
> 
> dunno how to disable on command line but you can try to add:
> "-Wno-format-security" inside the "common_cflags" list
> in setup.py around line 215, there are others warnings that are disabled
> there,
> you can add your. Please let me know if it work so that I can add it as
> default.

Yes, adding this to setup.py does the trick :)

To do the same thing on the command line it is enough to prepend the
following variable tuning before the setup.py execution:

CPPFLAGS="$CPPFLAGS -Wno-format-security"

Bye

-- 
Massimo Maiurana
Ragusa (RG)

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to