That looks alright to me. But apparently dirk has another way to do it that does not depend on R 3.1.0, whatever works.
Romain Le 30 avr. 2014 à 16:15, JJ Allaire <[email protected]> a écrit : > Romain, > > I think this PR addresses the issue: > > https://github.com/RcppCore/Rcpp/pull/143 > > I've tested and it seems to work as intended. Is this fix you were conceiving > of or is there something more we should be doing? > > J.J. > > > On Wed, Apr 30, 2014 at 9:19 AM, Romain Francois <[email protected]> > wrote: >> The plugin as implemented now is not portable. The easiest way to make it >> portable would be to define the USE_CXX1X environment variable, which R >> knows how to interpret. >> >> This way R would do what makes sense, i.e. use -std=c++0x on windows (for >> which rtools is limited to gcc 4.6.3 now) and -std=c++11 when it makes sense. >> >> Romain >> >> Le 30 avr. 2014 à 15:10, Darren Cook <[email protected]> a écrit : >> >> >> The problem seems to be that Rcpp uses -std=c++11; however, g++ 4.6.3, >> >> which is what comes with the latest version of Rtools on Windows, uses >> >> -std=c++0x or -std=gnu++0x ... >> > >> > In g++ 4.8.1 those two are deprecated in favour of -std=c++11 and >> > -std=gnu++11 respectively; however they are still available. >> > >> > Darren >> >> _______________________________________________ >> Rcpp-devel mailing list >> [email protected] >> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel >
_______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
