diff --git a/R/Attributes.R b/R/Attributes.R index 17be9f6ac..32456d1e3 100644 --- a/R/Attributes.R +++ b/R/Attributes.R @@ -432,6 +432,11 @@ compileAttributes <- function(pkgdir = ".", verbose = getOption("verbose")) { list(env = list(PKG_CXXFLAGS ="-std=c++0x")) } +# built-in C++14 plugin for C++14 standard +.plugins[["cpp14"]] <- function() { + list(env = list(PKG_CXXFLAGS ="-std=c++14")) +} + # built-in C++1y plugin for C++14 and C++17 standard under development .plugins[["cpp1y"]] <- function() { list(env = list(PKG_CXXFLAGS ="-std=c++1y"))