Sfoglia il codice sorgente

gcc's -Wmissing-declarations is not for C++, so remove it.

Frank Zago 16 anni fa
parent
commit
c1b198db74
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      configure
  2. 1 1
      configure.ac

+ 1 - 1
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

+ 1 - 1
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