Displaying 1 result from an estimated 1 matches for "use_cxx1x".
2014 Jul 01
0
USE_CXX1X, Snow Leopard R binaries + Mavericks
Hi R-devel,
I'm noticing the following behaviour:
writeLines("#include <Rcpp.h>", file = "test.cpp")
Rcpp::sourceCpp("~/test.cpp") ## succeeds at trivial compile
Sys.setenv("USE_CXX1X" = "yes")
Rcpp::sourceCpp("~/test.cpp") ## fails; CXX nor CXX1X properly set (?)
IIUC, R is not propagating CXX nor CXX1X when USE_CXX1X is set on a
Snow Leopard CRAN build of R. Is this the expected behaviour? IIUC,
Snow Leopard binaries are built with older compilers...