Mercurial > hg > nginx
comparison auto/cc/gcc @ 4767:d9190c84e594
Removed extraneous GCC warning flags.
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Sun, 29 Jul 2012 19:45:30 +0000 |
parents | d87b45d4a8a0 |
children | 80bd391c90d1 |
comparison
equal
deleted
inserted
replaced
4766:284cb8fb0741 | 4767:d9190c84e594 |
---|---|
154 | 154 |
155 case "$NGX_GCC_VER" in | 155 case "$NGX_GCC_VER" in |
156 3.* | 4.* ) | 156 3.* | 4.* ) |
157 # we have a lot of the unused function arguments | 157 # we have a lot of the unused function arguments |
158 CFLAGS="$CFLAGS -Wno-unused-parameter" | 158 CFLAGS="$CFLAGS -Wno-unused-parameter" |
159 CFLAGS="$CFLAGS -Wunused-function" | |
160 CFLAGS="$CFLAGS -Wunused-variable" | |
161 CFLAGS="$CFLAGS -Wunused-value" | |
162 # 4.2.1 shows the warning in wrong places | 159 # 4.2.1 shows the warning in wrong places |
163 #CFLAGS="$CFLAGS -Wunreachable-code" | 160 #CFLAGS="$CFLAGS -Wunreachable-code" |
164 ;; | 161 ;; |
165 | 162 |
166 *) | 163 *) |