Re: [R-pkg-devel] CXX_VISIBILITY on macOS

2023-10-08 Thread Matthias Gondan
You found the problem, thanks! Matthias, this has nothing to do with R, but rather your code. You have the wrong order of headers: the SWI headers mess up visibility macros, so you have to include them *after* Rcpp.h. Cheers, Simon [[alternative HTML version deleted]]

Re: [R-pkg-devel] CXX_VISIBILITY on macOS

2023-10-08 Thread Simon Urbanek
Matthias, this has nothing to do with R, but rather your code. You have the wrong order of headers: the SWI headers mess up visibility macros, so you have to include them *after* Rcpp.h. Cheers, Simon > On 9/10/2023, at 8:41 AM, Matthias Gondan wrote: > > Dear developers and CRAN people, >