From 519ed55357aeecbc5b2e7290212af87a2d3ca36b Mon Sep 17 00:00:00 2001 From: ripley Date: Fri, 17 Jan 2025 07:44:55 +0000 Subject: [PATCH] comments on GCC 15 and C23 support git-svn-id: https://svn.r-project.org/R/trunk@87586 00db46b3-68df-0310-9c12-caf00c1e9a41 --- doc/NEWS.Rd | 3 +++ doc/manual/R-admin.texi | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/NEWS.Rd b/doc/NEWS.Rd index 4baa54dbd3..74e3c84861 100644 --- a/doc/NEWS.Rd +++ b/doc/NEWS.Rd @@ -474,6 +474,9 @@ \command{clang} 17--19. (\I{LLVM} \command{clang} 18 and 19 objected to apparently valid code using attributes accepted by all the other compilers.) + + It can be installed with the upcoming (at the time of writing) + \command{gcc} 15, which defaults to C23. } } diff --git a/doc/manual/R-admin.texi b/doc/manual/R-admin.texi index a80608ae7b..96684abda7 100644 --- a/doc/manual/R-admin.texi +++ b/doc/manual/R-admin.texi @@ -1080,7 +1080,8 @@ if you want to specify a non-default standard use something like Compiling @R{} requires C99 or later: C11 and C17 are minor updates, but the substantial update `C23' (finally published in October 2024) is also -supported for current versions of GCC and @command{clang}. +supported for current versions of GCC and @command{clang}. The upcoming +GCC@tie{}15 is expected to default to C23. As from @R{} 4.3.0 there is support for packages to indicate their preferred C version. Macros @code{CC17}, @code{C17FLAGS}, @code{CC23}