comparison auto/cc/gcc @ 4760:d87b45d4a8a0

Added a commented out -Wmissing-prototypes to CFLAGS. It is commented out to not break builds with 3rd party modules.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 24 Jul 2012 15:13:34 +0000
parents d620f497c50f
children d9190c84e594
comparison
equal deleted inserted replaced
4759:4c36e15651f7 4760:d87b45d4a8a0
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