handling C++14 in sourceCpp · Issue #39 · Rcpp11/attributes · GitHub
Skip to content

handling C++14 in sourceCpp #39

Description

@romainfrancois

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions