mirror of
https://git.tukaani.org/xz.git
synced 2025-12-11 16:08:45 +00:00
Build: Use -Wextra-semi-stmt when supported
This commit is contained in:
parent
91170c8cab
commit
0f41a28bfa
@ -449,6 +449,7 @@ if(CMAKE_C_COMPILER_ID MATCHES GNU|Clang)
|
||||
-Wdocumentation
|
||||
-Wduplicate-enum
|
||||
-Wempty-translation-unit
|
||||
-Wextra-semi-stmt
|
||||
-Wflexible-array-extensions
|
||||
-Wmissing-variable-declarations
|
||||
-Wnewline-eof
|
||||
|
||||
@ -1360,6 +1360,7 @@ AS_IF([test "$GCC" = yes], [
|
||||
-Wdocumentation \
|
||||
-Wduplicate-enum \
|
||||
-Wempty-translation-unit \
|
||||
-Wextra-semi-stmt \
|
||||
-Wflexible-array-extensions \
|
||||
-Wmissing-variable-declarations \
|
||||
-Wnewline-eof \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user