Rcpp11 / attributes

Standalone implementation of Rcpp attributes.
Other
3 stars 1 forks source link

handling C++14 in sourceCpp #39

Open romainfrancois opened 9 years ago

romainfrancois commented 9 years ago

sourceCpp does not handle C++14. Pros because of this:

  if (is.mavericks.system() && is.snowleopard.R()) {
    ## work around USE_CXX1X breaking on this combo
    buildEnv[["PKG_CXXFLAGS"]] <- paste(buildEnv[["PKG_CXXFLAGS"]], "-std=c++11")
  } else {
    buildEnv[["USE_CXX1X"]] <- "yes"
  }

We need some way to go from Rcpp = "Rcpp14" to setting up C++14 parameters.