Closed jeroen closed 11 months ago
I can confirm that this fixes installation on arm64 Windows.
Thanks! How urgent is a new release?
Do you know if this is this an issue only on arm, and if so, why?
I would say at your earliest convenience. We are testing packages on win-arm now, so getting this out will unblock cran from building packages that depend on later
.
I suspect it is an issue with clang being a bit more strict in coercing int to enum. So it is not specific to arm, but we only use windows clang on arm right now.
Fixes #177
As explained in this topic the
TRUE
andFALSE
macros get undefined and then redefined in<windows.h>
.The same is done in R_ext/Boolean.h
So we need to include
<windows.h>
before<Rinternals.h>
to get the R version of this macro.