Skip to content

Commit

Permalink
comments on GCC 15 and C23 support
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@87586 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
ripley committed Jan 17, 2025
1 parent c483e4b commit 519ed55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions doc/NEWS.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
}
}
Expand Down
3 changes: 2 additions & 1 deletion doc/manual/R-admin.texi
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 519ed55

Please sign in to comment.