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:
2
configure
vendored
2
configure
vendored
@@ -15234,7 +15234,7 @@ else
|
|||||||
enable_debug="yes"
|
enable_debug="yes"
|
||||||
fi
|
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"
|
CXXFLAGS="-O0 -ggdb -Wall -Wcast-align -Wpointer-arith"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@@ -22,7 +22,7 @@ AC_ARG_ENABLE(debug,
|
|||||||
fi],
|
fi],
|
||||||
[ enable_debug="yes" ])
|
[ enable_debug="yes" ])
|
||||||
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 -Wmissing-declarations -Wpointer-arith"
|
CXXFLAGS="-O0 -ggdb -Wall -Wcast-align -Wpointer-arith"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check for Boost libraries
|
# Check for Boost libraries
|
||||||
|
Reference in New Issue
Block a user