[SCM] pam wrapper repository - branch master updated

Andreas Schneider asn at samba.org
Mon Jul 17 12:48:12 UTC 2023


The branch, master has been updated
       via  39d9af8 cmake: Remove -Werror=declaration-after-statement
      from  8e94874 cmake: Fix cmocka >= 1.1.6 find_package() in CONFIG mode

https://git.samba.org/?p=pam_wrapper.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 39d9af80cdae1be805346bca4f40b71149d62ba8
Author: Andreas Schneider <asn at samba.org>
Date:   Mon Jul 10 11:32:23 2023 +0200

    cmake: Remove -Werror=declaration-after-statement
    
    This is not compatible with Python 3.12
    
    Signed-off-by: Andreas Schneider <asn at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>

-----------------------------------------------------------------------

Summary of changes:
 CompilerChecks.cmake | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/CompilerChecks.cmake b/CompilerChecks.cmake
index 6c74b0b..559ecf9 100644
--- a/CompilerChecks.cmake
+++ b/CompilerChecks.cmake
@@ -32,7 +32,8 @@ if (UNIX)
     add_c_compiler_flag("-Wpointer-arith" SUPPORTED_COMPILER_FLAGS)
     add_c_compiler_flag("-Werror=pointer-arith" SUPPORTED_COMPILER_FLAGS)
     add_c_compiler_flag("-Wdeclaration-after-statement" SUPPORTED_COMPILER_FLAGS)
-    add_c_compiler_flag("-Werror=declaration-after-statement" SUPPORTED_COMPILER_FLAGS)
+    # Not compatible with Python 3.12 headers
+    #add_c_compiler_flag("-Werror=declaration-after-statement" SUPPORTED_COMPILER_FLAGS)
     add_c_compiler_flag("-Wreturn-type" SUPPORTED_COMPILER_FLAGS)
     add_c_compiler_flag("-Werror=return-type" SUPPORTED_COMPILER_FLAGS)
     add_c_compiler_flag("-Wuninitialized" SUPPORTED_COMPILER_FLAGS)


-- 
pam wrapper repository



More information about the samba-cvs mailing list