Remove stringop-overflow from error (#7422)

This commit is contained in:
Derek Bailey
2022-08-08 19:08:32 -07:00
committed by GitHub
parent c793621567
commit 9230f600d7

View File

@@ -361,8 +361,13 @@ else()
target_compile_options(ProjectConfig target_compile_options(ProjectConfig
INTERFACE INTERFACE
-Wall -Wall
-Wno-unknown-warning-option
$<$<BOOL:${FLATBUFFERS_STRICT_MODE}>: $<$<BOOL:${FLATBUFFERS_STRICT_MODE}>:
-Werror # Treat all compiler warnings as errors -Werror # Treat all compiler warnings as errors
# False positive string overflow
# https://github.com/google/flatbuffers/issues/7366
-Wno-error=stringop-overflow
> >
-pedantic -pedantic
-Wextra -Wextra