From 556895744b2443a6dfe720bdf9581d95d0b8e9b5 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 5 Oct 2022 15:09:41 +0200 Subject: [PATCH] build: Disable more bogus stringop warnings --- cmake/build_helpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index 72ea053be..f71bc6be0 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -408,7 +408,7 @@ endfunction() macro(setupCompilerWarnings target) set(IMHEX_COMMON_FLAGS "-Wall -Wextra -Werror") - set(IMHEX_C_FLAGS "${IMHEX_COMMON_FLAGS} -Wno-restrict -Wno-stringop-overread") + set(IMHEX_C_FLAGS "${IMHEX_COMMON_FLAGS} -Wno-restrict -Wno-stringop-overread -Wno-stringop-overflow") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${IMHEX_C_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${IMHEX_C_FLAGS}")