Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / intl / icu-patches / suppress-warnings.diff
blob65eef53a975e9f10bd7616a32a04a6e12487b033
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],
5 *)
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"
9 ;;
10 esac
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"
16 else
17 case "${host}" in
18 *-*-cygwin)
19 if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"
20 then
21 CFLAGS="$CFLAGS /W4"
22 fi ;;
23 *-*-mingw32|*-*-mingw64)
24 CFLAGS="$CFLAGS -W4" ;;
25 esac
27 if test "$GXX" = yes
28 then
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"
33 else
34 case "${host}" in
35 *-*-cygwin)
36 if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"
37 then
38 CXXFLAGS="$CXXFLAGS /W4"
39 fi ;;
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"
50 esac
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"
56 else
57 case "${host}" in
58 *-*-cygwin)
59 if test "`$CC /help 2>&1 | head -c9`" = "Microsoft"
60 then
61 CFLAGS="$CFLAGS /W4"
62 fi ;;
63 *-*-mingw32|*-*-mingw64)
64 CFLAGS="$CFLAGS -W4" ;;
65 esac
67 if test "$GXX" = yes
68 then
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"
73 else
74 case "${host}" in
75 *-*-cygwin)
76 if test "`$CXX /help 2>&1 | head -c9`" = "Microsoft"
77 then
78 CXXFLAGS="$CXXFLAGS /W4"
79 fi ;;
80 *-*-mingw32|*-*-mingw64)