summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-08-29 15:23:04 -0700
committerGitHub <noreply@github.com>2019-08-29 15:23:04 -0700
commiteace464174f1abefead072dc580244483e499af6 (patch)
tree7d581aa53c8b32b4d84e1d5f3b295d2cc51b36f3
parent1eeaa3278b329e8e0bf140725b81b67b8d1d5654 (diff)
downloadbinaryen-eace464174f1abefead072dc580244483e499af6.tar.gz
binaryen-eace464174f1abefead072dc580244483e499af6.tar.bz2
binaryen-eace464174f1abefead072dc580244483e499af6.zip
Temporarily build with -Wno-implicit-int-float-conversion (#2315)
See #2314
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 696b48b7e..89fc5d4e0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -148,6 +148,10 @@ ELSE()
ADD_COMPILE_FLAG("-Wextra")
ADD_COMPILE_FLAG("-Wno-unused-parameter")
ADD_COMPILE_FLAG("-fno-omit-frame-pointer")
+ # TODO(https://github.com/WebAssembly/binaryen/pull/2314): Remove these two
+ # flags once we resolve the issue.
+ ADD_COMPILE_FLAG("-Wno-implicit-int-float-conversion")
+ ADD_COMPILE_FLAG("-Wno-unknown-warning-option")
ADD_COMPILE_FLAG("-Wswitch") # we explicitly expect this in the code
IF(WIN32)
ADD_COMPILE_FLAG("-D_GNU_SOURCE")