[Rd] Specifying C Standard in Package's Makevars File
Andreas Kersting
r-deve| @end|ng |rom @ker@t|ng@de
Mon Sep 28 13:44:14 CEST 2020
Hi,
what is the correct way to specify a C standard in a package's Makevars file?
Building a package with e.g. PKG_CFLAGS = -std=gnu11 does work but R CMD check issues a warning:
* checking compilation flags in Makevars ... WARNING
Non-portable flags in variable 'PKG_CFLAGS':
-std=gnu11
(Same for -std=c11.)
Thanks! Regards,
Andreas Kersting
More information about the R-devel
mailing list