[Rcpp-devel] bug hunting
Romain Francois
romain at r-enthusiasts.com
Tue Mar 23 11:14:46 CET 2010
Hello,
I think the bug reported by Doug in the "Extract a function from a list
and create a call" thread is now fixed.
The problem was Vector did not have copy constructor and assignement
operators, so the compiler did generate silly ones for us. Do the vector
cache was not updated, so the string_proxy was holding an innapropriate
VECTOR*.
Please let me know if this works now.
In this debuggin battle, I defined the macro RCPP_DEBUG which is similar
to logTxt but allows printf formatting on the text and also the DEMANGLE
macro that demangles a c++ class name.
Romain
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/OIXN : raster images and RImageJ
|- http://tr.im/OcQe : Rcpp 0.7.7
`- http://tr.im/O1wO : highlight 0.1-5
More information about the Rcpp-devel
mailing list