From c1b198db74ed2765cedac84ee7ca431cb8186482 Mon Sep 17 00:00:00 2001 From: Frank Zago Date: Fri, 25 Sep 2009 03:48:51 +0000 Subject: [PATCH] gcc's -Wmissing-declarations is not for C++, so remove it. --- configure | 2 +- configure.ac | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 3f53c47ed..e7e7d4300 100755 --- a/configure +++ b/configure @@ -15234,7 +15234,7 @@ else fi if test "x$GXX" = "xyes" -a "x$enable_debug" = "xyes" ; then - CXXFLAGS="-O0 -ggdb -Wall -Wcast-align -Wmissing-declarations -Wpointer-arith" + CXXFLAGS="-O0 -ggdb -Wall -Wcast-align -Wpointer-arith" fi # Check for Boost libraries diff --git a/configure.ac b/configure.ac index 79588e909..1090fa585 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ AC_ARG_ENABLE(debug, fi], [ enable_debug="yes" ]) if test "x$GXX" = "xyes" -a "x$enable_debug" = "xyes" ; then - CXXFLAGS="-O0 -ggdb -Wall -Wcast-align -Wmissing-declarations -Wpointer-arith" + CXXFLAGS="-O0 -ggdb -Wall -Wcast-align -Wpointer-arith" fi # Check for Boost libraries