This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=d074d813759d88671a746dd8c11565722472440d

commit d074d813759d88671a746dd8c11565722472440d
Author: Guillem Jover <[email protected]>
AuthorDate: Fri Aug 2 01:44:42 2024 +0200

    build: Check for C++11 __func__ availability
    
    We are relying on it in the code, so make sure it works during
    configure.
---
 m4/dpkg-compiler.m4 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/m4/dpkg-compiler.m4 b/m4/dpkg-compiler.m4
index db9cd11fb..0694169b6 100644
--- a/m4/dpkg-compiler.m4
+++ b/m4/dpkg-compiler.m4
@@ -362,6 +362,9 @@ m4_define([_DPKG_CXX_CXX11_PROLOGUE], [[]])
 m4_define([_DPKG_CXX_CXX11_BODY], [[
        // Null pointer keyword.
        void *ptr = nullptr;
+
+       // Function name.
+       const char *func_name = __func__;
 ]])
 
 # _DPKG_CXX_CXX11_OPTS

-- 
Dpkg.Org's dpkg

Reply via email to