Disable tons of warnings given during wxGTK1 build
These warnings are not going to be fixed, so suppress them to at least see the other ones more clearly.
This commit is contained in:
4
configure
vendored
4
configure
vendored
@@ -38975,6 +38975,10 @@ case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
|
||||
esac
|
||||
|
||||
|
||||
if test "$WXGTK1" = "1"; then
|
||||
CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations -Wno-narrowing -Wno-write-strings"
|
||||
fi
|
||||
|
||||
if test "$WXGTK4" != 1 -a \( "$WXGTK3" = 1 -o "$wxUSE_MAC" = 1 \) ; then
|
||||
CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
|
||||
|
||||
|
@@ -7869,6 +7869,13 @@ elif test "$GXX" = yes ; then
|
||||
CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
|
||||
AX_CXXFLAGS_GCC_OPTION(-Woverloaded-virtual, CXXWARNINGS)
|
||||
|
||||
dnl there are tons of warnings when building with GTK+ 1 which are never
|
||||
dnl going to get fixed, so disable them to at least see new warnings/errors
|
||||
dnl more clearly
|
||||
if test "$WXGTK1" = "1"; then
|
||||
CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations -Wno-narrowing -Wno-write-strings"
|
||||
fi
|
||||
|
||||
dnl when building using GTK+ 3 or Cocoa we currently get tons of deprecation
|
||||
dnl warnings from the standard headers -- disable them as we already know
|
||||
dnl that they're deprecated but we still have to use them to support older
|
||||
|
Reference in New Issue
Block a user