Skip to content

Commit

Permalink
[NFC] Disable a warning that happens on system headers on CI (#6597)
Browse files Browse the repository at this point in the history
  • Loading branch information
kripken committed May 15, 2024
1 parent 2b60f8a commit 268feb9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ else()
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
# Google style requires this, so make sure we compile cleanly with it.
add_compile_flag("-Wctad-maybe-unsupported")
# Disable a warning that started to happen on system headers (so we can't
# fix it in our codebase) on github CI:
# https://github.com/WebAssembly/binaryen/pull/6597
add_compile_flag("-Wno-deprecated-declarations")
endif()

if(WIN32)
Expand Down

0 comments on commit 268feb9

Please sign in to comment.