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

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 2f274c57f2 gnu: mcpp: Fix build with gcc@14.
2f274c57f2 is described below

commit 2f274c57f203b9e5dc7fa3174a6a17c5916cb3ae
Author: Nigko Yerden <nigko.yer...@gmail.com>
AuthorDate: Sun Jul 20 17:30:56 2025 +0500

    gnu: mcpp: Fix build with gcc@14.
    
    * gnu/packages/cpp.scm (mcpp)[arguments]<#:configure-flags>:
    Add CFLAGS to declare warnings as non-errors.
    
    Change-Id: Iade7774aedb52be59b5a62903825518a001bc641
    Signed-off-by: Andreas Enge <andr...@enge.fr>
---
 gnu/packages/cpp.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 74f2407e19..7d12deace3 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -2611,7 +2611,12 @@ conversions to and from strings, iteration and related 
functionality.")
                 "0r48rfghjm90pkdyr4khxg783g9v98rdx2n69xn8f6c5i0hl96rv"))))
     (build-system gnu-build-system)
     (arguments
-     (list #:configure-flags #~(list "--enable-mcpplib" "--disable-static")))
+     (list #:configure-flags
+           #~(list "--enable-mcpplib"
+                   "--disable-static"
+                   (string-append "CFLAGS=-g -O2"
+                                  " -Wno-error=incompatible-pointer-types"
+                                  " 
-Wno-error=implicit-function-declaration"))))
     (home-page "https://mcpp.sourceforge.net/";)
     (synopsis "C/C++ preprocessor")
     (description

Reply via email to