Check indices between left and right after they diverge

This commit is contained in:
2024-02-08 14:50:53 -08:00
parent b018ccc3ae
commit 2bd1bf93a9
2 changed files with 74 additions and 29 deletions

View File

@@ -21,8 +21,12 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
"MinSizeRel" "RelWithDebInfo")
endif()
add_compile_options(-fdata-sections -ffunction-sections
-Wno-return-stack-address)
add_compile_options(-fdata-sections -ffunction-sections)
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
add_compile_options(-Wno-maybe-uninitialized)
endif()
if(APPLE)
add_link_options(-Wl,-dead_strip)
else()