[alln] Opt in to -Wno-implicit-int-float-conversion
Otherwise when we turn on this warning project-wide we get this sad
failure:
../../third_party/icu/source/i18n/plurrule.cpp:1664:24: error: implicit conversion from 'int64_t' (aka 'long') to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Werror,-Wimplicit-int-float-conversion]
if (scaled > U_INT64_MAX) {
~ ^~~~~~~~~~~
../../third_party/icu/source/common/unicode/umachine.h:212:33: note: expanded from macro 'U_INT64_MAX'
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bug: 3203
Change-Id: I8e6984169120547460e3e35a566272e13ce4506c
diff --git a/BUILD.gn b/BUILD.gn
index e142f25..4ff40e0 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -104,7 +104,11 @@
"-Wno-deprecated-declarations",
# <fuchsia-icu>
# Disable spurious thread safety errors in umutex.cpp
- "-Wno-thread-safety"
+ "-Wno-thread-safety",
+ # Can probably remove the below after
+ # https://unicode-org.atlassian.net/projects/ICU/issues/ICU-20869
+ # is fixed.
+ "-Wno-implicit-int-float-conversion",
# </fuchsia-icu>
]
}