From 6acf37e87959947f2573fea31b407a218e698004 Mon Sep 17 00:00:00 2001 From: Emil Mikulic Date: Thu, 28 Jan 2016 01:05:27 +1100 Subject: [PATCH] Build with warnings. --- devel/run-tests | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devel/run-tests b/devel/run-tests index cdcab1d..3211308 100755 --- a/devel/run-tests +++ b/devel/run-tests @@ -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.