Skip to content

Commit 9982649

Browse files
author
ripley
committed
report -Wkeyword-macro
git-svn-id: https://svn.r-project.org/R/trunk@88031 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 52befa6 commit 9982649

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/library/tools/R/check.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6131,6 +6131,7 @@ add_dummies <- function(dir, Log)
61316131
"warning: .* \\[-Wc\\+\\+20-extensions\\]",
61326132
"warning: .* \\[-Wc\\+\\+23-extensions\\]",
61336133
"warning: .* \\[-Wc\\+\\+2b-extensions\\]",
6134+
## in clang and in Wextra for recent gcc
61346135
"warning: .* \\[-Wenum-conversion\\]",
61356136
## LLVM clang 15 versions
61366137
"warning: .* \\[-Wc\\+\\+14-attribute-extensions\\]",
@@ -6156,6 +6157,7 @@ add_dummies <- function(dir, Log)
61566157
" warning: switch condition has boolean value \\[-Wswitch-bool\\]",
61576158
" warning: .* \\[-Wembedded-directive\\]",
61586159
" warning: using directive refers to implicitly-defined namespace",
6160+
" warning: .* \\[-Wkeyword-macro\\]",
61596161
## same flag but different wording for clang++ 19
61606162
## C99 and C++11 require at least one argument:
61616163
## this is relaxed in C23 and C++20.

0 commit comments

Comments
 (0)