From 1289ce3c872f63b046c2dd792de0e4decfc141f6 Mon Sep 17 00:00:00 2001 From: oetiker Date: Thu, 16 May 2002 19:18:35 +0000 Subject: [PATCH] added -W ... lets have some more warnings ... with gcc 3.1 985 git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@142 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/configure.ac b/program/configure.ac index ae599bc1..45e27f7c 100644 --- a/program/configure.ac +++ b/program/configure.ac @@ -248,7 +248,7 @@ AC_PATH_PROGS(TROFF, groff troff) dnl Does the compiler like -Wall and -pedantic? if test "x$GCC" = "xyes"; then oCFLAGS=$CFLAGS - CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline" + CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -W" AC_CACHE_CHECK(if we can use GCC-specific compiler options, rd_cv_gcc_opt, [AC_TRY_COMPILE( , return 0 , rd_cv_gcc_opt=yes, -- 2.30.2