From 1a5cefd085e1057e6c80314230c3187e6551d6b8 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Thu, 27 Nov 2003 01:41:41 +0000 Subject: [PATCH] ICU-3222 Fix some compiler warnings. Don't worry about long long warnings anymore. X-SVN-Rev: 13904 --- icu4c/source/aclocal.m4 | 4 ++-- icu4c/source/configure | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/icu4c/source/aclocal.m4 b/icu4c/source/aclocal.m4 index 9f648c05027..df6f9d98f07 100644 --- a/icu4c/source/aclocal.m4 +++ b/icu4c/source/aclocal.m4 @@ -195,7 +195,7 @@ AC_DEFUN(AC_CHECK_STRICT_COMPILE, then if test "$GCC" = yes then - CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Winline" + CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Winline -Wno-long-long" case "${host}" in *-*-solaris*) CFLAGS="$CFLAGS -D__STDC__=0";; @@ -203,7 +203,7 @@ AC_DEFUN(AC_CHECK_STRICT_COMPILE, fi if test "$GXX" = yes then - CXXFLAGS="$CXXFLAGS -W -Wall -ansi -pedantic -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Winline" + CXXFLAGS="$CXXFLAGS -W -Wall -ansi -pedantic -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Winline -Wno-long-long" case "${host}" in *-*-solaris*) CXXFLAGS="$CXXFLAGS -D__STDC__=0";; diff --git a/icu4c/source/configure b/icu4c/source/configure index 8cbcbf0ab2c..9a3b6e82f9b 100755 --- a/icu4c/source/configure +++ b/icu4c/source/configure @@ -1383,7 +1383,7 @@ fi then if test "$GCC" = yes then - CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Winline" + CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Winline -Wno-long-long" case "${host}" in *-*-solaris*) CFLAGS="$CFLAGS -D__STDC__=0";; @@ -1391,7 +1391,7 @@ fi fi if test "$GXX" = yes then - CXXFLAGS="$CXXFLAGS -W -Wall -ansi -pedantic -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Winline" + CXXFLAGS="$CXXFLAGS -W -Wall -ansi -pedantic -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Winline -Wno-long-long" case "${host}" in *-*-solaris*) CXXFLAGS="$CXXFLAGS -D__STDC__=0";;