From 88871cb3b46a9f201cca92ac5fc18beba708e969 Mon Sep 17 00:00:00 2001 From: Derek Bailey Date: Mon, 8 Aug 2022 19:08:32 -0700 Subject: [PATCH] Remove stringop-overflow from error (#7422) --- 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