1 diff --git a/intl/icu/source/acinclude.m4 b/intl/icu/source/acinclude.m4
2 --- a/intl/icu/source/acinclude.m4
3 +++ b/intl/icu/source/acinclude.m4
4 @@ -466,30 +466,36 @@ AC_DEFUN([AC_CHECK_STRICT_COMPILE],
6 # Do not use -ansi. It limits us to C90, and it breaks some platforms.
7 # We use -std=c99 to disable the gnu99 defaults and its associated warnings
8 CFLAGS="$CFLAGS -std=c99"
12 CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"
14 + # Suppress clang C warnings:
15 + CFLAGS="$CFLAGS -Wno-sign-compare -Wno-unused"
19 if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"
23 *-*-mingw32|*-*-mingw64)
24 CFLAGS="$CFLAGS -W4" ;;
29 CXXFLAGS="$CXXFLAGS -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
31 + # Suppress clang C++ warnings:
32 + CXXFLAGS="$CXXFLAGS -Wno-unused -Wno-unused-parameter"
36 if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"
38 CXXFLAGS="$CXXFLAGS /W4"
40 *-*-mingw32|*-*-mingw64)
41 diff --git a/intl/icu/source/configure b/intl/icu/source/configure
42 --- a/intl/icu/source/configure
43 +++ b/intl/icu/source/configure
44 @@ -4089,30 +4089,36 @@ fi
46 # Do not use -ansi. It limits us to C90, and it breaks some platforms.
47 # We use -std=c99 to disable the gnu99 defaults and its associated warnings
48 CFLAGS="$CFLAGS -std=c99"
52 CFLAGS="$CFLAGS -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings"
54 + # Suppress clang C warnings:
55 + CFLAGS="$CFLAGS -Wno-sign-compare -Wno-unused"
59 if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"
63 *-*-mingw32|*-*-mingw64)
64 CFLAGS="$CFLAGS -W4" ;;
69 CXXFLAGS="$CXXFLAGS -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long"
71 + # Suppress clang C++ warnings:
72 + CXXFLAGS="$CXXFLAGS -Wno-unused -Wno-unused-parameter"
76 if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"
78 CXXFLAGS="$CXXFLAGS /W4"
80 *-*-mingw32|*-*-mingw64)