Also disable deprecation warnings in Obj-C++ code under OS X
Extend the changes of 2ad61b03a8
to Obj-C++
code, the intention was always to suppress all of them.
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -35715,6 +35715,8 @@ esac
|
||||
|
||||
if test "$WXGTK3" = 1 -o "$wxUSE_MAC" = 1 ; then
|
||||
CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
|
||||
|
||||
OBJCXXFLAGS="$OBJCXXFLAGS -Wno-deprecated-declarations"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
@@ -7577,6 +7577,10 @@ elif test "$GXX" = yes ; then
|
||||
dnl other ones
|
||||
if test "$WXGTK3" = 1 -o "$wxUSE_MAC" = 1 ; then
|
||||
CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
|
||||
|
||||
dnl CXXWARNINGS is not used for Objective-C++ code compilation, but we
|
||||
dnl want to avoid these warnings in it too when building wxOSX.
|
||||
OBJCXXFLAGS="$OBJCXXFLAGS -Wno-deprecated-declarations"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user