[R-pkg-devel] Ongoing CXX17 woes
On Fri, Aug 6, 2021 at 4:05 PM Ivan Krylov <krylov.r00t at gmail.com> wrote:
On Fri, 6 Aug 2021 15:51:37 -0500 Tim Keitt <tkeitt at 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