Skip to content

Commit 593e972

Browse files
author
ripley
committed
report -Warray-bounds (seen more often with GCC 15)
git-svn-id: https://svn.r-project.org/R/trunk@88187 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 64dc287 commit 593e972

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/library/tools/R/check.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3901,7 +3901,7 @@ add_dummies <- function(dir, Log)
39013901
## -Werror is not compiler independent
39023902
## (as what is a warning is not)
39033903
## -Wno-dev is from qt, not a compiler flag.
3904-
## -Wstrict-prototypea is long supported by gcc and LLVM/Apple clang.
3904+
## -Wstrict-prototypes is long supported by gcc and LLVM/Apple clang.
39053905
except <- Sys.getenv("_R_CHECK_COMPILATION_FLAGS_KNOWN_", "")
39063906
except <- unlist(strsplit(except, "\\s", perl = TRUE))
39073907
warns <- setdiff(warns,
@@ -6054,6 +6054,7 @@ add_dummies <- function(dir, Log)
60546054
"\\[-Warray-parameter=\\]",
60556055
## GCC 14's C++ stdlib (as seen for TMB headers)
60566056
"\\[-Wtemplate-id-cdtor\\]",
6057+
"\\[-Warray-bounds\\]",
60576058
## clang version (not Apple clang)
60586059
"\\[-Warray-parameter\\]",
60596060
"\\[-Wuse-after-free\\]",

0 commit comments

Comments
 (0)