Skip to content

Commit

Permalink
Disable -Werror=sign-compare due to issue in nanobind 2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
erwei-xilinx committed Jan 10, 2025
1 parent 227a708 commit df76659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ cmake_dependent_option(AIE_ENABLE_AIRBIN
# If we need runtime libs, then statically link them.
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")

add_flag_if_supported("-Werror=sign-compare" WERROR_SIGN_COMPARE)
# add_flag_if_supported("-Werror=sign-compare" WERROR_SIGN_COMPARE)
add_flag_if_supported("-Werror=unused" WERROR_USED)

# What happens when you have a non-void function with no return?
Expand Down

0 comments on commit df76659

Please sign in to comment.