diff --git a/configure b/configure index d1fede1dfa..0735848b1f 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 60979 2009-06-10 14:56:18Z VZ . +# From configure.in Id: configure.in 60981 2009-06-10 15:07:03Z VZ . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0. # @@ -47144,6 +47144,10 @@ case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in ;; esac + + if test "$wxUSE_MAC" = 1 ; then + CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations" + fi fi diff --git a/configure.in b/configure.in index 3e0012dc6e..2ab3ea808b 100644 --- a/configure.in +++ b/configure.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