From 1cfd12699be168cf199e303b88a234c223f7d197 Mon Sep 17 00:00:00 2001 From: Martin Michelsen Date: Mon, 28 Mar 2022 18:38:24 -0700 Subject: [PATCH] also ignore -Wstringop-truncation --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 42e809b0..ba4267ce 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,7 +11,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED True) if (MSVC) add_compile_options(/W4 /WX) else() - add_compile_options(-Wall -Wextra -Werror -Wno-address-of-packed-member) + add_compile_options(-Wall -Wextra -Werror -Wno-address-of-packed-member -Wno-stringop-truncation) endif() include_directories("/usr/local/include")