mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
move -Wextra-semi to GCC 8.0+
This commit is contained in:
@@ -358,7 +358,6 @@ else()
|
||||
-Wno-unused-parameter
|
||||
-Wold-style-cast
|
||||
-Wimplicit-fallthrough
|
||||
-Wextra-semi
|
||||
-fsigned-char
|
||||
-Wnon-virtual-dtor
|
||||
|
||||
@@ -381,6 +380,9 @@ else()
|
||||
-faligned-new
|
||||
-Werror=implicit-fallthrough=2
|
||||
>
|
||||
$<$<VERSION_GREATER:$<CXX_COMPILER_VERSION>,8.0>:
|
||||
-Wextra-semi
|
||||
>
|
||||
>
|
||||
|
||||
$<$<BOOL:${FLATBUFFERS_CODE_COVERAGE}>:
|
||||
|
||||
Reference in New Issue
Block a user