comparison auto/cc/gcc @ 4798:29928279ec9f stable-1.2

Merge of r4760, r4761: -Wmissing-prototypes. Fixed compilation with -Wmissing-prototypes. Added a commented out -Wmissing-prototypes to CFLAGS. It is commented out to not break builds with 3rd party modules.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 06 Aug 2012 17:07:28 +0000
parents d1cea70248c7
children
comparison
equal deleted inserted replaced
4797:d1cea70248c7 4798:29928279ec9f
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