X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53263fdff9200736472ac0f530a188f16711f5ad..9e996d8c4389df20d678ab01a33fb1135da40f42:/configure.in diff --git a/configure.in b/configure.in index 349bf3ff29..a402c5825a 100644 --- a/configure.in +++ b/configure.in @@ -1786,7 +1786,11 @@ fi if test "x$HPCXX" = "xyes"; then dnl 2340: "value copied to temporary, reference to temporary used": very dnl painful as triggered by any occurrence of user-defined conversion - CXXFLAGS="+W 2340 $CXXFLAGS" + dnl 4232: "conversion from 'Foo *' to a more strictly aligned type 'Bar *' + dnl may cause misaligned access": this might indicate a real problem + dnl but any use of GTK+ cast macros results in it so it's unusable + dnl for wxGTK code + CXXFLAGS="+W 2340,4232 $CXXFLAGS" fi dnl DEC/Compaq/HP cxx warnings @@ -7434,8 +7438,8 @@ if test "x$INTELCXX" = "xyes" ; then dnl remark #1419: external declaration in primary source file CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419" elif test "$GXX" = yes ; then - dnl CXXWARNINGS="-Wall -W -Wcast-qual -Werror" CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy" + AX_CXXFLAGS_GCC_OPTION(-Woverloaded-virtual, CXXWARNINGS) fi @@ -7601,13 +7605,13 @@ AC_SUBST(DEBUG_INFO) AC_SUBST(DEBUG_FLAG) TOOLKIT_LOWERCASE=xxx if test "$TOOLKIT" = "MAC"; then - TOOLKIT_LOWERCASE=osx + TOOLKIT_LOWERCASE=osx_carbon fi if test "$TOOLKIT" = "OSX_CARBON"; then - TOOLKIT_LOWERCASE=osx + TOOLKIT_LOWERCASE=osx_carbon fi if test "$TOOLKIT" = "OSX_COCOA"; then - TOOLKIT_LOWERCASE=osx + TOOLKIT_LOWERCASE=osx_cocoa fi if test "$TOOLKIT_LOWERCASE" = "xxx"; then TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[[A-Z]]' '[[a-z]]'`