diff --git a/CMakeLists.txt b/CMakeLists.txt index 98f0c45122d..666a61fe224 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -363,6 +363,10 @@ else() -Wall $<$: -Werror # Treat all compiler warnings as errors + + # False positive string overflow + # https://github.com/google/flatbuffers/issues/7366 + -Wno-error=stringop-overflow > -pedantic -Wextra