1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-13 19:54:17 +02:00

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

This commit is contained in:
Frank Zago
2009-09-25 03:48:51 +00:00
parent fc301e9127
commit c1b198db74
2 changed files with 2 additions and 2 deletions

2
configure vendored
View File

@@ -15234,7 +15234,7 @@ else
enable_debug="yes"
fi
if test "x$GXX" = "xyes" -a "x$enable_debug" = "xyes" ; then
if test "x$GXX" = "xyes" -a "x$enable_debug" = "xyes" ; then
CXXFLAGS="-O0 -ggdb -Wall -Wcast-align -Wpointer-arith"
fi

View File

@@ -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