Skip to content

Commit

Permalink
Disable libyaml GCC unused-value warning temporarily (iree-org#14579)
Browse files Browse the repository at this point in the history
A Fix is proposed upstream and pending review.

ci_extra: build_test_all_windows
  • Loading branch information
hcindyl authored and nhasabni committed Aug 24, 2023
1 parent c9bcbd5 commit 0868f8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build_tools/third_party/libyaml/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,7 @@ external_cc_library(

if(MSVC)
target_compile_options(yaml_yaml PRIVATE /wd4996)
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
# TODO(libyaml#210): Remove this option.
target_compile_options(yaml_yaml PRIVATE "-Wno-unused-value")
endif()

0 comments on commit 0868f8f

Please sign in to comment.