disable deprecation warnings when building wxMac as there are just too many of them

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-06-18 21:05:09 +00:00
parent 49d2b75d53
commit 2ad61b03a8
2 changed files with 13 additions and 1 deletions

View File

@@ -7417,6 +7417,14 @@ if test "x$INTELCXX" = "xyes" ; then
elif test "$GXX" = yes ; then
CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
AX_CXXFLAGS_GCC_OPTION(-Woverloaded-virtual, CXXWARNINGS)
dnl when building under Mac we currently get hundreds of deprecation
dnl warnings for Carbon symbols from the standard headers -- disable them
dnl as we already know that they're deprecated and nothing else can be seen
dnl with these warnings on
if test "$wxUSE_MAC" = 1 ; then
CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
fi
fi