From bd3aec02b4cf79c5f896c332c2ab5cb883fe6656 Mon Sep 17 00:00:00 2001 From: Derek Bailey Date: Mon, 8 Aug 2022 18:55:34 -0700 Subject: [PATCH] Remove stringop-overflow from error --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 98f0c45122d..aec4bc382a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -361,8 +361,13 @@ else() target_compile_options(ProjectConfig INTERFACE -Wall + -Wno-unknown-warning-option $<$: -Werror # Treat all compiler warnings as errors + + # False positive string overflow + # https://github.com/google/flatbuffers/issues/7366 + -Wno-error=stringop-overflow > -pedantic -Wextra