Build with warnings.
authorEmil Mikulic <emikulic@gmail.com>
Wed, 27 Jan 2016 14:05:27 +0000 (01:05 +1100)
committerEmil Mikulic <emikulic@gmail.com>
Wed, 27 Jan 2016 14:06:08 +0000 (01:06 +1100)
devel/run-tests

index cdcab1d..3211308 100755 (executable)
@@ -111,9 +111,9 @@ fi
 
 # Check that the code builds with various defines.
 echo "===> building without -DDEBUG"
-$CC -O2 ../darkhttpd.c || exit 1
+$CC -O2 -Wall ../darkhttpd.c || exit 1
 echo "===> building with -DNO_IPV6"
-$CC -O2 -DNO_IPV6 ../darkhttpd.c || exit 1
+$CC -O2 -Wall -DNO_IPV6 ../darkhttpd.c || exit 1
 
 # Do coverage and sanitizers.
 # -fsanitize=undefined produces stderr.