[Rcpp-devel] C++11 in Windows R package

Dirk Eddelbuettel edd at debian.org
Thu May 29 15:32:05 CEST 2014


On 29 May 2014 at 14:27, Matteo Fasiolo wrote:
|  hopefully this is what you meant: I have searched the sources of
| RcppArmadillo, Rcpp and R-3.1.0 
| for the string "#undef WIN32", but I didn't find anything. 
| 
| I used for example: grep -rnw 'RcppArmadillo' -e '#undef WIN32'    

I was just on the commuter train, did the same and didn't see it either.  

But here is another idea: add    -DWIN32   in src/Makevars.win.  Maybe that
definition "survives" and you end up in the right branch.  

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list