Skip to content

Commit

Permalink
Remove stringop-overflow from error (google#7422)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaileychess authored and Jochen Parmentier committed Oct 29, 2024
1 parent 5a5c7a6 commit 88871cb
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 88871cb

Please sign in to comment.