Skip to content
Snippets Groups Projects
Commit 82a30a3b authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[ci] Disable certain compiler warnings for gcc 14

These seems to be false positives.
parent 6cc5f611
No related branches found
No related tags found
No related merge requests found
...@@ -77,6 +77,14 @@ if(COMPILER_IS_GCC OR COMPILER_IS_CLANG OR COMPILER_IS_INTEL) ...@@ -77,6 +77,14 @@ if(COMPILER_IS_GCC OR COMPILER_IS_CLANG OR COMPILER_IS_INTEL)
$<$<COMPILE_LANGUAGE:CXX>:-Wno-stringop-overread> $<$<COMPILE_LANGUAGE:CXX>:-Wno-stringop-overread>
) )
endif() endif()
if(CMAKE_CXX_COMPILER_VERSION VERSION_EQUAL 14.1.1)
# See https://gitlab.opengeosys.org/ogs/ogs/-/merge_requests/5037
add_compile_options(
$<$<COMPILE_LANGUAGE:CXX>:-Wno-array-bounds>
$<$<COMPILE_LANGUAGE:CXX>:-Wno-stringop-overflow>
$<$<COMPILE_LANGUAGE:CXX>:-Wno-stringop-overread>
)
endif()
endif() endif()
if(COMPILER_IS_CLANG) if(COMPILER_IS_CLANG)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment