Code

remove c++ warnings flag .. this is not c++ after all
authoroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 14 Jan 2008 17:11:50 +0000 (17:11 +0000)
committeroetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa>
Mon, 14 Jan 2008 17:11:50 +0000 (17:11 +0000)
git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@1272 a5681a0c-68f1-0310-ab6d-d61299d08faa

configure.ac

index 7cadc3bd3cfdab8b0d58538c0453750abdf7c75d..7d77122206209e1353dccb6057279bff4ac9c8ff 100644 (file)
@@ -339,7 +339,7 @@ CFLAGS="$CFLAGS -D_GNU_SOURCE"
 
 dnl which flags does the compiler support?
 if test "x$GCC" = "xyes"; then
-  for flag in -fno-strict-aliasing -Wall -std=c99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wc++-compat -Wold-style-definition -W; do
+  for flag in -fno-strict-aliasing -Wall -std=c99 -pedantic -Wundef -Wshadow -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wold-style-definition -W; do
     oCFLAGS="$CFLAGS"
     CFLAGS="$CFLAGS $flag"
     cachename=rd_cv_gcc_flag_`echo $flag|sed 's/[[^A-Za-z]]/_/g'`