Hello! On Wed, Feb 10, 2016 at 12:15:53PM +0100, Lukas Tribus wrote:
> > > I also get a compile error related to Pagespeed: > > [...] > > /root/ngx_pagespeed-release-1.10.33.4-beta/src/ngx_pagespeed.cc:3148:1: > > error: deprecated conversion from string constant to ‘char*’ > > [-Werror=write-strings] > > }; > > ^ > > cc1plus: all warnings being treated as errors > > Apply this patch: > http://hg.nginx.org/nginx/rev/ff1e625ae55b > > Or pull latest source code from the repository. Trivial workaround for build failures due to warnings is to use -Wno-error, e.g.: ./configure --with-cc-opt="-Wno-error" ... In this particular case, -Wno-write-strings can be used instead, e.g.: ./configure --with-cc-opt="-Wno-write-strings" ... -- Maxim Dounin http://nginx.org/ _______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
