comparison auto/cc/gcc @ 6178:c041f1e0655f

Configure: added gcc5 to the list of known GCC versions.
author Valentin Bartenev <vbart@nginx.com>
date Wed, 10 Jun 2015 19:18:20 +0300
parents 80bd391c90d1
children ade7d0335d77
comparison
equal deleted inserted replaced
6177:4d25ec8f0adb 6178:c041f1e0655f
151 #CFLAGS="$CFLAGS -Winline" 151 #CFLAGS="$CFLAGS -Winline"
152 #CFLAGS="$CFLAGS -Wmissing-prototypes" 152 #CFLAGS="$CFLAGS -Wmissing-prototypes"
153 153
154 154
155 case "$NGX_GCC_VER" in 155 case "$NGX_GCC_VER" in
156 3.* | 4.* ) 156 [3-5].*)
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 # 4.2.1 shows the warning in wrong places 159 # 4.2.1 shows the warning in wrong places
160 #CFLAGS="$CFLAGS -Wunreachable-code" 160 #CFLAGS="$CFLAGS -Wunreachable-code"
161 161