Disable range-loop-construct warnings (#4951)

This commit is contained in:
Guillaume Chatelet
2025-12-15 15:27:59 +01:00
committed by Corentin Le Molgat
parent 7f22b7208c
commit 8802f29059
3 changed files with 8 additions and 2 deletions

View File

@@ -137,7 +137,11 @@ if(MSVC)
"/wd4996" # The compiler encountered a deprecated declaration.
)
else()
list(APPEND OR_TOOLS_COMPILE_OPTIONS "-fwrapv")
list(APPEND OR_TOOLS_COMPILE_OPTIONS
"-fwrapv"
"-Wno-range-loop-construct"
"-Wno-sign-compare"
)
endif()
# Link option