mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-16 01:07:29 +00:00
Remove stringop-overflow from error (#7422)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user