[Rcpp-devel] R CMD check not happy about -std=c++0x
Romain François
francoisromain at free.fr
Fri Jan 15 08:27:42 CET 2010
Hi,
I'm getting a warning when I try to build my CPP package that depends on
Rcpp and uses the classic Makevars :
PKG_CXXFLAGS=`Rcpp:::CxxFlags()` -I.
PKG_LIBS=`Rcpp:::LdFlags()`
I get this warning from R CMD check :
* checking for portable compilation flags in Makevars ... WARNING
Non-portable flags in variable 'PKG_CXXFLAGS':
-std=c++0x
Is there a workaround ? We probably would then have to update the new
skeleton generator to use it.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/KfKn : Rcpp 0.7.2
|- http://tr.im/JOlc : External pointers with Rcpp
`- http://tr.im/JFqa : R Journal, Volume 1/2, December 2009
More information about the Rcpp-devel
mailing list