[R-pkg-devel] Ongoing CXX17 woes

Tim Keitt tke|tt @end|ng |rom gm@||@com
Fri Aug 6 23:22:54 CEST 2021


On Fri, Aug 6, 2021 at 4:05 PM Ivan Krylov <krylov.r00t using gmail.com> wrote:

> On Fri, 6 Aug 2021 15:51:37 -0500
> Tim Keitt <tkeitt using gmail.com> wrote:
>
> > CXX17=`${R_HOME}/bin/R CMD config --all | awk '{print $1}' | grep \
> > "^CXX17$"`
>
> This seems to output "CXX17" on a machine with no C++17 support. On the
> other hand, running `${R_HOME}/bin/R CMD config CXX17` here gives me an
> empty string.
>

Not on my machine. But perhaps this is the issue with Solaris? You can
check the comments at
https://github.com/eddelbuettel/rcppsimdjson/blob/master/configure that
suggest the grep method is more robust. But perhaps that's no longer the
case or on all platforms.

THK


>
> --
> Best regards,
> Ivan
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list