mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-4288 We don't care about the type punned warnings and strict aliasing rules.
X-SVN-Rev: 17319
This commit is contained in:
parent
5834e77a4e
commit
a53c4cee5d
2 changed files with 2 additions and 2 deletions
2
icu4c/source/aclocal.m4
vendored
2
icu4c/source/aclocal.m4
vendored
|
@ -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";;
|
||||
|
|
2
icu4c/source/configure
vendored
2
icu4c/source/configure
vendored
|
@ -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";;
|
||||
|
|
Loading…
Add table
Reference in a new issue