tech-pkg archive

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

catching up with c++23



Looking at gcc's documentation:

  https://gcc.gnu.org/projects/cxx-status.html#cxx23

There are 4 things listed that need 14, and many that need 13.  I think
12 made sense when we didn't have 13, but 12 is not reasonable given how
many things are listed as >=13.  It seems likely that things quietly go
wrong.

Do people think gcc13 in pkgsrc works?

Does anybody use anything with c++23 and would like to test build?



Index: gcc.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/compiler/gcc.mk,v
retrieving revision 1.278
diff -u -p -U 3 -r1.278 gcc.mk
--- gcc.mk	7 Jun 2024 11:13:04 -0000	1.278
+++ gcc.mk	7 Jun 2024 12:26:04 -0000
@@ -183,8 +183,8 @@ GCC_REQD+=	2.8.0
 .if !empty(USE_CXX_FEATURES:Mc++23)
 # gcc documents that 14 is required.
 
-# \todo Change to 14 or justify.
-GCC_REQD+=	12
+# pkgsrc lacks 14, so pick 13.
+GCC_REQD+=	13
 .endif
 
 .if !empty(USE_CXX_FEATURES:Mc++20)


Home | Main Index | Thread Index | Old Index