Certainly realize that it's possible to make a more inline form of code
generation work with sourceCpp (and it would overcome the #ifdef issue you
encountered). One additional fly in ointment is that for package
development we _must_ use an external file for code generation (otherwise
we'd need to re-write the entire src directory including generating a
custom Makevars -- clearly a non-starter). We could have divergent behavior
for sourceCpp and compileAttributes (used for packages) but I hesitate to
cross that line.

J.J.
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to