Closed
Description
At running:
ARG NGINX_CLOJURE_VERSION=0.5.1
RUN ARGS=$(nginx -V 2>&1 | sed -n -e 's/^.*arguments: //p') \
cd nginx-$NGINX_VERSION && \
./configure \
--prefix=/opt/nginx \
--with-compat $ARGS \
--add-dynamic-module=../nginx-clojure-$NGINX_CLOJURE_VERSION/src/c && \
make install
The error:
../nginx-clojure-0.5.1/src/c/ngx_http_clojure_module.c: In function 'ngx_http_clojure_log_handler':
../nginx-clojure-0.5.1/src/c/ngx_http_clojure_module.c:2196:13: error: variable 'rc' set but not used [-Werror=unused-but-set-variable]
ngx_int_t rc;
^
cc1: all warnings being treated as errors