Skip to content

Commit 5a5a2a0

Browse files
author
ripley
committed
no longer necessary to warn on C++20
git-svn-id: https://svn.r-project.org/R/trunk@89000 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 1390d02 commit 5a5a2a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/library/tools/R/check.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3970,7 +3970,7 @@ add_dummies <- function(dir, Log)
39703970
haveObjs <- any(grepl("^ *Object", out))
39713971
pat <- paste("possibly from",
39723972
sQuote("(abort|assert|exit|_exit|_Exit|stop)"))
3973-
rempat <- paste(sprintf("\\b%s\\b", warnNonAPI), collapse = "|")
3973+
rempat <- paste(sprintf("\\b%s\\b", warnNonAPI), collapse = "|")
39743974
if(haveObjs && any(grepl(pat, out)) && pkgname %notin% "parallel")
39753975
## need _exit in forked child
39763976
warningLog(Log)
@@ -6479,8 +6479,8 @@ add_dummies <- function(dir, Log)
64796479
noteLog(Log,
64806480
sprintf(" Specified C++%d: please drop specification unless essential", std))
64816481
## since R 4.4.0 C++17 support is required, but
6482-
## C++20/23} support is patchy
6483-
} else if (std >= 20) {
6482+
## C++23/26} support is patchy
6483+
} else if (std >= 23) {
64846484
resultLog(Log, "OK")
64856485
printLog(Log,
64866486
sprintf(" Not all R platforms support C++%s\n", std))

0 commit comments

Comments
 (0)