From a53c4cee5db77caa440141c98c5adf7af06b2254 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Thu, 10 Mar 2005 04:59:13 +0000 Subject: [PATCH] ICU-4288 We don't care about the type punned warnings and strict aliasing rules. X-SVN-Rev: 17319 --- icu4c/source/aclocal.m4 | 2 +- icu4c/source/configure | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/icu4c/source/aclocal.m4 b/icu4c/source/aclocal.m4 index 8c1db773fc1..735b8ebefdb 100644 --- a/icu4c/source/aclocal.m4 +++ b/icu4c/source/aclocal.m4 @@ -251,7 +251,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 -Wno-long-long" + CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Winline -Wno-long-long -fno-strict-aliasing" case "${host}" in *-*-solaris*) CFLAGS="$CFLAGS -D__STDC__=0";; diff --git a/icu4c/source/configure b/icu4c/source/configure index de0d291b238..db0ab45635d 100755 --- a/icu4c/source/configure +++ b/icu4c/source/configure @@ -1357,7 +1357,7 @@ fi then if test "$GCC" = yes then - CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Winline -Wno-long-long" + CFLAGS="$CFLAGS -Wall -ansi -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Winline -Wno-long-long -fno-strict-aliasing" case "${host}" in *-*-solaris*) CFLAGS="$CFLAGS -D__STDC__=0";;