Uncaught exception gives you UB. It is however difficult not to catch 
exceptions if you use Rcpp::export attributes which includes a "catch all and 
deal with it" part. 

Romain

Envoyé de mon iPhone

> Le 29 déc. 2014 à 18:28, Wush Wu <wush...@gmail.com> a écrit :
> 
> Dear all,
> 
> I have a question which is described in the subject. 
> 
> It is discovered when I use the valgrind to check my package. 
> 
> Because I am not familiar with valgrind, please help me verify that if this 
> is a bug of Rcpp or not.
> 
> Here is a minimal reproducible example with docker and the log of valgrind: 
> 
> https://gist.github.com/wush978/629743109e4aaa762968
> 
> Best,
> Wush
> 
> 
> 
> _______________________________________________
> Rcpp-devel mailing list
> Rcpp-devel@lists.r-forge.r-project.org
> https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to