From: oetiker Date: Thu, 16 May 2002 19:18:35 +0000 (+0000) Subject: added -W ... lets have some more warnings ... with gcc 3.1 985 X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=aac7e4487d1315bb804ea7fbd8c8b335a5524568 added -W ... lets have some more warnings ... with gcc 3.1 985 git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@142 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/configure.ac b/configure.ac index ae599bc..45e27f7 100644 --- a/configure.ac +++ b/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,