summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")