Message-ID: <1N49h5-1rXQX43IqP-0106qV@mail.gmx.net>
Date: 2023-10-09T06:32:20Z
From: Matthias Gondan
Subject: [R-pkg-devel] CXX_VISIBILITY on macOS
In-Reply-To: <E4CF3C25-B923-49BC-B8D3-9EF5D7D46902@R-project.org>
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]]