Disable the implicit-int-float-conversion warning added in the latest Fuchsia Clang toolchain (#298)

This warning produces errors when building the current versions of Skia and ICU.
This commit is contained in:
Jason Simmons 2019-08-08 13:17:56 -07:00 committed by GitHub
parent c69cead9b6
commit c9561ea9f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,9 @@ config("extra_warnings") {
"-Wthread-safety",
]
}
if (is_fuchsia) {
cflags += [ "-Wno-implicit-int-float-conversion" ]
}
defines = [ "_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS" ]
}