[Rcpp-devel] Build of Rcpp from svn failure

2012-12-16 Thread Thell Fowler
Just a note: Build of svn head is resulting in a failure on debian precise with clang 3.3:: exceptions.cpp:108:38: error: you need to include before using the ‘typeid’ operator std::string ex_class = demangle( typeid(ex).name() ) ; Resetting to r4157 allowed successful source package build

Re: [Rcpp-devel] Build of Rcpp from svn failure

2012-12-16 Thread Thell Fowler
diff --git a/pkg/Rcpp/src/exceptions.cpp b/pkg/Rcpp/src/exceptions.cpp index f46573b..7ff0f28 100644 --- a/pkg/Rcpp/src/exceptions.cpp +++ b/pkg/Rcpp/src/exceptions.cpp @@ -20,6 +20,7 @@ // along with Rcpp. If not, see . #include +#include #define R_NO_REMAP #i

Re: [Rcpp-devel] Build of Rcpp from svn failure

2012-12-16 Thread Romain Francois
Thanks for the notice, will fix when i get a chance if nobody else does it first. I simplified this file yesterday to trim some old unused code, so i'll take the blame... The fix should just be to add #include On top of the file somewhere. Romain Le 16 déc. 2012 à 17:53, Thell Fowler

Re: [Rcpp-devel] Build of Rcpp from svn failure

2012-12-16 Thread Romain Francois
Sure. Something like that, typeinfo is pretty orthogonal to features of the other includes, so no issue of header order. While you're there, does R CMD check Rcpp work fine ? Romain Le 16 déc. 2012 à 18:04, Thell Fowler a écrit : > diff --git a/pkg/Rcpp/src/exceptions.cpp b/pkg/Rcpp/src/ex

Re: [Rcpp-devel] Build of Rcpp from svn failure

2012-12-16 Thread Thell Fowler
Yep, and that's with -std=c++11; which I totally thank you guys for correcting the issue with unordered_set. There are a few warnings, like package subdirectories on ../..Rcheck , line endings in src/Timer.cpp , and jss.bst already being included in R. I'd mention further but doRunit.R usually ti

Re: [Rcpp-devel] Build of Rcpp from svn failure

2012-12-16 Thread Thell Fowler
Wow, they actually completed! In the end, 3 warnings, 2 notes, no errors. :thumbs-up: On Sun, Dec 16, 2012 at 11:23 AM, Thell Fowler wrote: > Yep, and that's with -std=c++11; which I totally thank you guys for > correcting the issue with unordered_set. > > There are a few warnings, like packag

Re: [Rcpp-devel] Build of Rcpp from svn failure

2012-12-16 Thread Dirk Eddelbuettel
On 16 December 2012 at 11:23, Thell Fowler wrote: | endings in src/Timer.cpp , and jss.bst already being included in R.  I'd | mention further but doRunit.R usually times out on my system and I don't Huh? You mean you run out of patience? It always finishes. There were times when due to coding

Re: [Rcpp-devel] Build of Rcpp from svn failure

2012-12-16 Thread Thell Fowler
Dirk, That was indeed off-the-cuff noise and not intended as a report. I hadn't had cause to build Rcpp since mid-November, at which time I did receive a timeout (I could be recalling incorrectly on the step though) so I'm glad to hear that the test time has been reduced and pleased to see the re

Re: [Rcpp-devel] Build of Rcpp from svn failure

2012-12-16 Thread Dirk Eddelbuettel
On 16 December 2012 at 12:19, Thell Fowler wrote: | Thanks for the heads-up on ccache, it'll be interesting to see how it plays | with clang. 100% orthogonal. "It Just Works (TM)". apt-get install ccache, and I then set CC, CXX, ... in ~/.R/Makevars. C'est tout. Dirk -- Dirk Eddelbuettel | e