move -Wextra-semi to GCC 8.0+

This commit is contained in:
Derek Bailey
2022-06-14 16:32:10 -07:00
parent 42acdb63c3
commit 987aa5b5ee

View File

@@ -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}>: