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