[Rcpp-devel] Clang 3.0 and 3.3 errors on sugar/set.h

Dirk Eddelbuettel edd at debian.org
Mon Nov 19 18:39:02 CET 2012

On 19 November 2012 at 11:22, Thell Fowler wrote:
| First:: Ubuntu clang version 3.0-6ubuntu3 (tags/RELEASE_30/final) (based on LLVM 3.0)
|  >> setting environment variables:
| PKG_LIBS = -lmpfr -lgmp -L/home/thell/R/library/Rcpp/lib -lRcpp -Wl,-rpath,/home/thell/R/library/Rcpp/lib
| PKG_CPPFLAGS = -std=c++11

Romain may have been too subtle the other day:  This is NOT currently
supported. We have not turned that flag in quite some time as CRAN won't let
us use it.  If you really it, expect to do some work on the Rcpp source.

| The code compiles and works (the warnings are expected for now) using g++.

Could you confirm that it also works with clang with the c++11 flag?


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

More information about the Rcpp-devel mailing list