Ditto on CentOS 6 + gcc 4.4.6 due to the uwsgi::opt patch (b59294d):

cc1: warnings being treated as errors
plugins/psgi/psgi_loader.c: In function 'xs_init':
plugins/psgi/psgi_loader.c:305: error: value computed is not used
plugins/psgi/psgi_loader.c:310: error: value computed is not used
plugins/psgi/psgi_loader.c:313: error: value computed is not used

On Sun, Feb 8, 2015 at 2:55 PM, Ævar Arnfjörð Bjarmason
<[email protected]> wrote:
> Since c8a1ba3 we'll fail to build on CentOS 5 due to:
>
>     cc1: warnings being treated as errors
>     core/spooler.c: In function 'spooler_scandir':
>     core/spooler.c:480: warning: passing argument 4 of 'scandir' from
> incompatible pointer type
>
> I just hacked around this by disabling -Werror, b.t.w. is there an
> easier way to do that than:
>
>     perl -pi -e "s['-Werror',][]g" uwsgiconfig.py
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to