Disable range-loop-construct warnings (#4951)
This commit is contained in:
committed by
Corentin Le Molgat
parent
7f22b7208c
commit
8802f29059
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user