Re: [R-pkg-devel] Ongoing CXX17 woes

2021-08-06 Thread Tim Keitt
Fixed. Thanks. THK On Fri, Aug 6, 2021 at 4:33 PM Tim Keitt wrote: > > > On Fri, Aug 6, 2021 at 4:22 PM Tim Keitt wrote: > >> >> >> On Fri, Aug 6, 2021 at 4:05 PM Ivan Krylov wrote: >> >>> On Fri, 6 Aug 2021 15:51:37 -0500 >>> Tim Keitt wrote: >>> >>> > CXX17=`${R_HOME}/bin/R CMD config --al

Re: [R-pkg-devel] Ongoing CXX17 woes

2021-08-06 Thread Tim Keitt
On Fri, Aug 6, 2021 at 4:22 PM Tim Keitt wrote: > > > On Fri, Aug 6, 2021 at 4:05 PM Ivan Krylov wrote: > >> On Fri, 6 Aug 2021 15:51:37 -0500 >> Tim Keitt wrote: >> >> > CXX17=`${R_HOME}/bin/R CMD config --all | awk '{print $1}' | grep \ >> > "^CXX17$"` >> >> This seems to output "CXX17" on a

Re: [R-pkg-devel] Ongoing CXX17 woes

2021-08-06 Thread Tim Keitt
On Fri, Aug 6, 2021 at 4:05 PM Ivan Krylov wrote: > On Fri, 6 Aug 2021 15:51:37 -0500 > Tim Keitt 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

Re: [R-pkg-devel] Ongoing CXX17 woes

2021-08-06 Thread Ivan Krylov
On Fri, 6 Aug 2021 15:51:37 -0500 Tim Keitt 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. --

[R-pkg-devel] Ongoing CXX17 woes

2021-08-06 Thread Tim Keitt
Hi Folks, I have a package that compiles fine under C++11 but it throws an "Error: C++17 standard requested but CXX17 is not defined" error when checking under Solaris. My configure looks like: #!/bin/sh # Borrowed from https://github.com/eddelbuettel/rcppsimdjson/blob/master/configure : ${R_H