[Rcpp-devel] compileAttributes does not scan header files

Chenliang Xu luckyrand at gmail.com
Wed Oct 15 04:19:40 CEST 2014


Hello,

compileAttributes currently only scan .cpp and .c files, and ignore header
files (.h, .hpp). When a function is used in two or more cpp files, the
default parameter of function should be provided in function declaration,
which is usually included in a header file, so it seems to be nature to
scan attributes in header files.

Do I miss any reason that prohibit scanning header files? It seems to be
straightforward to add support for header files, but I'm not quite sure
what is the right behavior.

Thanks a lot!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20141014/c3efde72/attachment.html>


More information about the Rcpp-devel mailing list