[Rd] R-devel, bool, and C23

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Sat Mar 15 04:25:54 CET 2025


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

but then I get a nag from both r-devel and r-release that

  W  checking compilation flags in Makevars ...
     Non-portable flags in variable 'PKG_CFLAGS':
       -std=gnu23

Reading the texi sources of r-devel's update WRE did not reveal a better way,
but maybe I missed it. Is there are preferred approach?

(My r-release and r-devel are current(ish): 4.4.3 and r87909, respectively.)

Thanks in advance for any pointers.

Cheers, Dirk

-- 
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-devel mailing list