Skip to content

Commit 236b20f

Browse files
committed
Disable stringop-overflow warning
1 parent 8b16ded commit 236b20f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cmake/macros/configure_cesium_library.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ function(configure_cesium_library targetName)
1313

1414
if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 13)
1515
# Disable dangling-reference warning due to amount of false positives: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642
16-
target_compile_options(${targetName} PRIVATE -Wno-dangling-reference)
16+
# Also disable stringop-overflow warning which causes false positives when building with aarch64-linux-gnu-g++-13
17+
target_compile_options(${targetName} PRIVATE -Wno-dangling-reference -Wno-stringop-overflow)
1718
endif()
1819

1920
if (CESIUM_GLM_STRICT_ENABLED)

0 commit comments

Comments
 (0)