[Rd] R-devel, bool, and C23
Ivan Krylov
|kry|ov @end|ng |rom d|@root@org
Sat Mar 15 07:49:58 CET 2025
On Fri, 14 Mar 2025 22:25:54 -0500
Dirk Eddelbuettel <edd using debian.org> wrote:
> An older package I looked at apparently currently fails to build under
> r-devel (and with that my thanks to R-universe for giving us a
> 'broad' range of builds for free -- off our development sources) over
> 'bool' related changes and enum definitions.
>
> I can get it to behave and build by declaring
>
> PKG_CFLAGS = -std=gnu23
Could you please share the compilation failure messages? The -std=gnu23
flag causes R_ext/Boolean.h to _not_ #include <stdbool.h> before
defining enum Rboolean, so the problem is likely related to that.
--
Best regards,
Ivan
More information about the R-devel
mailing list