pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/compiler
Module Name: pkgsrc
Committed By: gdt
Date: Tue Feb 11 19:30:19 UTC 2025
Modified Files:
pkgsrc/mk/compiler: gcc.mk
Log Message:
mk/gcc/compiler.mk: Require gcc12 for c++20
We've now had multiple cases where gcc10, previously required, is
inadequate to compiler c++20 programs. That, together with gcc
documenting that gcc12 is required, is adequate justification.
(As discussed on tech-pkg earlier, and just now.)
To generate a diff of this commit:
cvs rdiff -u -r1.285 -r1.286 pkgsrc/mk/compiler/gcc.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/compiler/gcc.mk
diff -u pkgsrc/mk/compiler/gcc.mk:1.285 pkgsrc/mk/compiler/gcc.mk:1.286
--- pkgsrc/mk/compiler/gcc.mk:1.285 Sun Dec 8 10:32:28 2024
+++ pkgsrc/mk/compiler/gcc.mk Tue Feb 11 19:30:18 2025
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.285 2024/12/08 10:32:28 nia Exp $
+# $NetBSD: gcc.mk,v 1.286 2025/02/11 19:30:18 gdt Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -188,11 +188,9 @@ GCC_REQD+= 14
.if !empty(USE_CXX_FEATURES:Mc++20)
# gcc documents that 11 is required, with a few perhaps-obscure
-# features requiring 12.
-
-# 10 is the version included in netbsd-10.
-# We hope that it remains OK for most C++20 in the future...
-GCC_REQD+= 10
+# features requiring 12. gcc10 does not define __cplusplus as meeting
+# c++20.
+GCC_REQD+= 12
.endif
.if !empty(USE_CXX_FEATURES:Mc++17)
Home |
Main Index |
Thread Index |
Old Index