Code

added -W ... lets have some more warnings ... with gcc 3.1 985
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 16 May 2002 19:18:35 +0000 (19:18 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Thu, 16 May 2002 19:18:35 +0000 (19:18 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@142 a5681a0c-68f1-0310-ab6d-d61299d08faa

configure.ac

index ae599bc15710ab3de77ad01780d79468c4fadc20..45e27f7cee3add01efb64c82c376e0a0091f32a1 100644 (file)
@@ -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,