Skip to content

Commit

Permalink
Remove stringop-overflow from error (#7422)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaileychess authored Aug 9, 2022
1 parent c793621 commit 9230f60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,13 @@ else()
target_compile_options(ProjectConfig
INTERFACE
-Wall
-Wno-unknown-warning-option
$<$<BOOL:${FLATBUFFERS_STRICT_MODE}>:
-Werror # Treat all compiler warnings as errors

# False positive string overflow
# https://github.com/google/flatbuffers/issues/7366
-Wno-error=stringop-overflow
>
-pedantic
-Wextra
Expand Down

0 comments on commit 9230f60

Please sign in to comment.