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:
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user