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!
_______________________________________________ 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