[Rd] compiler specific flags : -std=c++0x

Romain Francois romain.francois at dbmail.com
Mon Jan 18 19:27:12 CET 2010


Hello,

We'd like to use the flag -std=c++0x to take advantage of features of 
the forthcoming C++0x standard that is already partly implemented by the 
GCC >= 4.3

R CMD check warns about the flag because it is non portable. Is there a 
way to turn the warning off, considering that we do test that the 
compiler is indeed GCC >= 4.3 as part of our configure script and we 
only add the flag in that case.

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 R-devel mailing list