1--- source/i18n/unicode/format.h
2+++ source/i18n/unicode/format.h
3@@ -22,6 +22,13 @@
4
5 #ifndef FORMAT_H
6 #define FORMAT_H
7+
8+#ifdef __GNUC__
9+#pragma GCC diagnostic push
10+#pragma GCC diagnostic ignored "-Wpragmas" // for old GCC
11+#pragma GCC diagnostic ignored "-Wunknown-warning-option" // for Clang
12+#pragma GCC diagnostic ignored "-Wdeprecated-copy"
13+#endif
14
15
16 #include "unicode/utypes.h"
17@@ -314,5 +314,9 @@
18
19 #endif /* U_SHOW_CPLUSPLUS_API */
20
21+#ifdef __GNUC__
22+#pragma GCC diagnostic pop
23+#endif
24+
25 #endif // _FORMAT
26 //eof
27