From: Lasse Collin Date: Wed, 26 Nov 2025 11:50:57 +0000 (+0200) Subject: Build: Use -Wextra-semi-stmt when supported X-Git-Tag: v5.8.2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f41a28bfab98d1f5171ee5c9da6dfdc15f62549;p=thirdparty%2Fxz.git Build: Use -Wextra-semi-stmt when supported --- diff --git a/CMakeLists.txt b/CMakeLists.txt index cb5ef7f1..02c246d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 diff --git a/configure.ac b/configure.ac index 658b91bb..30e53f21 100644 --- a/configure.ac +++ b/configure.ac @@ -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 \