Skip to content

Commit

Permalink
Remove stringop-overflow from error
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaileychess committed Aug 9, 2022
1 parent c793621 commit 185ad0f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,10 @@ else()
-Wall
$<$<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 185ad0f

Please sign in to comment.