On 30 September 2016 at 09:16, Charles Determan wrote: | I believe you could just put the following in your DESCRIPTION file so the | R version takes care of the C++11 flag. | | SystemRequirements: C++11
This is _one_ of _two_ equivalent choices, the other (which is my preference) is to add this ti src/Makevars{,.win} ## We want C++11 CXX_STD = CXX11 In _either case_ R will know what to do and pick -std=c++0x or -std=c++11 depending on what it saw during its compilation. See its etc/Makeconf. Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel