Re: [Rcpp-devel] Makevars portability

2018-03-03 Thread Jeff Newmiller
Thanks for the prompt reply, and the slick package. Indeed, it appears to be unnecessary. I must have created it in an attempt to fix another problem and lost track of that. -- Sent from my phone. Please excuse my brevity. On March 3, 2018 9:52:57 AM PST, Dirk Eddelbuettel wrote: > >On 3 Mar

Re: [Rcpp-devel] Makevars portability

2018-03-03 Thread Dirk Eddelbuettel
On 3 March 2018 at 09:32, Jeff Newmiller wrote: | I have an existing legacy.c file with legacy.h interface that I am putting into a package. I figured out how to create an rcpp glue file that uses an extern "C" block to include the .h file so my C++ function can call it. | | However, it looks l

[Rcpp-devel] Makevars portability

2018-03-03 Thread Jeff Newmiller
I have an existing legacy.c file with legacy.h interface that I am putting into a package. I figured out how to create an rcpp glue file that uses an extern "C" block to include the .h file so my C++ function can call it. However, it looks like Rcpp is defining the OBJECTS variable before I put