Skip to content

Commit eedd3c7

Browse files
committed
Added cpp14 plugin
1 parent fcbfcc6 commit eedd3c7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

R/Attributes.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,11 @@ compileAttributes <- function(pkgdir = ".", verbose = getOption("verbose")) {
432432
list(env = list(PKG_CXXFLAGS ="-std=c++0x"))
433433
}
434434

435+
# built-in C++14 plugin for C++14 standard
436+
.plugins[["cpp14"]] <- function() {
437+
list(env = list(PKG_CXXFLAGS ="-std=c++14"))
438+
}
439+
435440
# built-in C++1y plugin for C++14 and C++17 standard under development
436441
.plugins[["cpp1y"]] <- function() {
437442
list(env = list(PKG_CXXFLAGS ="-std=c++1y"))

0 commit comments

Comments
 (0)