~ruther/guix-local

2f274c57f203b9e5dc7fa3174a6a17c5916cb3ae — Nigko Yerden 1 year, 3 months ago 4962cb0
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 <andreas@enge.fr>
1 files changed, 6 insertions(+), 1 deletions(-)

M gnu/packages/cpp.scm
M gnu/packages/cpp.scm => gnu/packages/cpp.scm +6 -1
@@ 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