Skip to content
Prev 8855 / 10988 Next

[Rcpp-devel] correct way of making custom as and wrap functions available to other packages

Hi Kevin

Thanks for your answer. I've tried declaring them as inline but the 
compiler (clang, haven't tried gcc) issues a warning saying it's going 
to ignore the inline statement. I'm assuming this is because the 
declaration is actually a template specialisation but I haven't found a 
definitive answer.
If I separate the declaration from the definition, the linker now 
complains as and wrap are missing. Using the interface:: attribute 
doesn't seem to help either.

Best

Simon

Le 17/07/2015 16:56, Kevin Thornton a ?crit :
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20150717/cf03ea9b/attachment.html>