Implement string inserter for long long. This creates a problem on mingw as gcc

gives a warning unless -Wno-format is used, one of the most useful warnings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-10-15 19:16:59 +00:00
parent 4948c2b6c8
commit 3fc1adbd94
3 changed files with 22 additions and 0 deletions

View File

@@ -6969,6 +6969,15 @@ if test "x$INTELCXX" = "xyes" ; then
elif test "$GXX" = yes ; then
dnl CXXWARNINGS="-Wall -W -Wcast-qual -Werror"
CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
dnl -Wno-format is a terrifically useful warning, however mingw warns
dnl whenever the I64 format specifier is used for long long.
dnl FIXME: it we detected when cygwin is using -mno-cygwin we could avoid
dnl disabling it for cygwin.
case "${host}" in
*-*-cygwin* | *-*-mingw32* )
CXXWARNINGS="$CXXWARNINGS -Wno-format"
esac
fi
EXTRA_CFLAGS="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE"