Re: [Rd] R-devel, bool, and C23

2025-03-15 Thread Dirk Eddelbuettel
Follow-up and 'case (sort of) closed': Tomas and I dug around some more and it is due to me setting CC in ~/.R/Makevars (to VER=-14 CCACHE=ccache CC=$(CCACHE) gcc$(VER) which drops the compilation standard flag (needed here for C23) and attached to CC by configure. I think that is actual

Re: [Rd] R-devel, bool, and C23

2025-03-15 Thread Dirk Eddelbuettel
On 15 March 2025 at 09:49, Ivan Krylov wrote: | On Fri, 14 Mar 2025 22:25:54 -0500 | Dirk Eddelbuettel 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 -- o

Re: [Rd] R-devel, bool, and C23

2025-03-15 Thread Ivan Krylov via R-devel
On Sat, 15 Mar 2025 07:51:11 -0500 Dirk Eddelbuettel wrote: > /usr/local/lib/R-devel/lib/R/include/R_ext/Boolean.h:62:16: warning: ISO C > does not support specifying ‘enum’ underlying types before C23 [-Wpedantic] > 62 | typedef enum :int { FALSE = 0, TRUE } Rboolean; // so NOT NA >

Re: [Rd] R-devel, bool, and C23

2025-03-15 Thread Ivan Krylov via R-devel
On Fri, 14 Mar 2025 22:25:54 -0500 Dirk Eddelbuettel 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 an

[Rd] R-devel, bool, and C23

2025-03-14 Thread Dirk Eddelbuettel
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