]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Build: Use -Wextra-semi-stmt when supported
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 26 Nov 2025 11:50:57 +0000 (13:50 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 9 Dec 2025 15:18:22 +0000 (17:18 +0200)
CMakeLists.txt
configure.ac

index cb5ef7f157d93ba6268ee0df0c1080b5555ab5f5..02c246d0b0d0b66fc06dc4f6aa5869fb96bb098b 100644 (file)
@@ -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
index 658b91bb2fc64204e31f4cd27958cf9840b5a4e9..30e53f219685af0bec8e4b1f0c4e8dc06defba55 100644 (file)
@@ -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 \