[R-pkg-devel] [External] Re: clang issue
Grose, Daniel
d@n@gro@e @end|ng |rom |@nc@@ter@@c@uk
Mon Aug 7 15:16:33 CEST 2023
Hi Dirk
Thanks for the quick response.
I thought -DR_NO_REMAP in Makevars would set R_NO_REMAP across all compilation units. Is this not the case ?
Thanks,
Dan
________________________________
From: Dirk Eddelbuettel <edd using debian.org>
Sent: 07 August 2023 14:13
To: Grose, Daniel <dan.grose using lancaster.ac.uk>
Cc: r-package-devel using r-project.org <r-package-devel using r-project.org>
Subject: [External] Re: [R-pkg-devel] clang issue
This email originated outside the University. Check before clicking links or attachments.
Daniel,
This is not new, and not related to clang.
On 7 August 2023 at 12:58, Grose, Daniel wrote:
| Any ideas ?
Add a line
#define R_NO_REMAP 1
before _any_ inclusion of R headers. See Section 6 of Writing R Extensions.
If you use eg Rcpp it is done for you when you include Rcpp headers.
Cheers, Dirk
--
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
[[alternative HTML version deleted]]
More information about the R-package-devel
mailing list