ICU-4288 We don't care about the type punned warnings and strict aliasing rules.

X-SVN-Rev: 17319
This commit is contained in:
George Rhoten 2005-03-10 04:59:13 +00:00
parent 5834e77a4e
commit a53c4cee5d
2 changed files with 2 additions and 2 deletions

View file

@ -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";;

View file

@ -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";;