set but not used

y-iida at secom.co.jp y-iida at secom.co.jp
Fri Jul 22 10:26:01 UTC 2011


Hello, nginx maintainer(s).  Thank you for releasing nginx
as free software.

On sparc-sun-solaris2.10 with GCC 4.6.0 for GNU Binutils 2.21,
nginx 1.0.5 does not compile due to the following:
  src/event/ngx_event_openssl.c:1690:31: error: variable 'c' set but not used

Making without "-Werror" such as:
    make CFLAGS='-mcpu=v9 -pipe -O -W -Wall
                 -Wpointer-arith -Wno-unused-parameter
                 -Wunused-function -Wunused-variable
                 -Wunused-value -g'
solves it, but you may want to fix C source.
--
  iida




More information about the nginx mailing list