comparison auto/cc/gcc @ 682:5cb5db9975ba NGINX_1_3_4

nginx 1.3.4 *) Change: the "ipv6only" parameter is now turned on by default for listening IPv6 sockets. *) Feature: the Clang compiler support. *) Bugfix: extra listening sockets might be created. Thanks to Roman Odaisky. *) Bugfix: nginx/Windows might hog CPU if a worker process failed to start. Thanks to Ricardo Villalobos Guevara. *) Bugfix: the "proxy_pass_header", "fastcgi_pass_header", "scgi_pass_header", "uwsgi_pass_header", "proxy_hide_header", "fastcgi_hide_header", "scgi_hide_header", and "uwsgi_hide_header" directives might be inherited incorrectly.
author Igor Sysoev <http://sysoev.ru>
date Tue, 31 Jul 2012 00:00:00 +0400
parents d0f7a625f27c
children
comparison
equal deleted inserted replaced
681:625501f84a6b 682:5cb5db9975ba
147 CFLAGS="$CFLAGS ${NGX_GCC_OPT:--O} -W" 147 CFLAGS="$CFLAGS ${NGX_GCC_OPT:--O} -W"
148 148
149 CFLAGS="$CFLAGS -Wall -Wpointer-arith" 149 CFLAGS="$CFLAGS -Wall -Wpointer-arith"
150 #CFLAGS="$CFLAGS -Wconversion" 150 #CFLAGS="$CFLAGS -Wconversion"
151 #CFLAGS="$CFLAGS -Winline" 151 #CFLAGS="$CFLAGS -Winline"
152 #CFLAGS="$CFLAGS -Wmissing-prototypes"
152 153
153 154
154 case "$NGX_GCC_VER" in 155 case "$NGX_GCC_VER" in
155 3.* | 4.* ) 156 3.* | 4.* )
156 # we have a lot of the unused function arguments 157 # we have a lot of the unused function arguments
157 CFLAGS="$CFLAGS -Wno-unused-parameter" 158 CFLAGS="$CFLAGS -Wno-unused-parameter"
158 CFLAGS="$CFLAGS -Wunused-function"
159 CFLAGS="$CFLAGS -Wunused-variable"
160 CFLAGS="$CFLAGS -Wunused-value"
161 # 4.2.1 shows the warning in wrong places 159 # 4.2.1 shows the warning in wrong places
162 #CFLAGS="$CFLAGS -Wunreachable-code" 160 #CFLAGS="$CFLAGS -Wunreachable-code"
163 ;; 161 ;;
164 162
165 *) 163 *)