pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/gcc15



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Jul 17 05:37:09 UTC 2025

Modified Files:
        pkgsrc/lang/gcc15: Makefile.common

Log Message:
gcc15: needs C++14

otherwise you'll get:

../../gcc-15.1.0/gcc/gimple.cc:78:1: error: body of 'constexpr'
function 'constexpr size_t get_tail_padding_adjustment() [with G =
gimple; size_t = long unsigned int]' not a return-statement

Let's see if we need to force c++14


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/gcc15/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/gcc15/Makefile.common
diff -u pkgsrc/lang/gcc15/Makefile.common:1.1 pkgsrc/lang/gcc15/Makefile.common:1.2
--- pkgsrc/lang/gcc15/Makefile.common:1.1       Mon Jul 14 17:44:53 2025
+++ pkgsrc/lang/gcc15/Makefile.common   Thu Jul 17 05:37:09 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.1 2025/07/14 17:44:53 wiz Exp $
+# $NetBSD: Makefile.common,v 1.2 2025/07/17 05:37:09 wiz Exp $
 # used by lang/gcc15-libjit/Makefile
 
 GCC_PKGNAME=           gcc15
@@ -41,8 +41,8 @@ CONFIGURE_ARGS+=      --disable-libstdcxx-pch
 
 # error: 'for' loop initial declarations are only allowed in C99 mode
 FORCE_C_STD=           gnu99
-USE_CXX_FEATURES+=     c++11
-FORCE_CXX_STD=         c++11
+USE_CXX_FEATURES+=     c++14
+#FORCE_CXX_STD=                c++11
 
 UNLIMIT_RESOURCES+=    datasize
 UNLIMIT_RESOURCES+=    stacksize



Home | Main Index | Thread Index | Old Index