[R-pkg-devel] Ongoing CXX17 woes

Tim Keitt tke|tt @end|ng |rom gm@||@com
Sat Aug 7 00:37:22 CEST 2021


Fixed. Thanks.

THK

On Fri, Aug 6, 2021 at 4:33 PM Tim Keitt <tkeitt using gmail.com> wrote:

>
>
> On Fri, Aug 6, 2021 at 4:22 PM Tim Keitt <tkeitt using gmail.com> wrote:
>
>>
>>
>> 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.
>>>
>>
> Actually, you are right -- from the shell it does return a string. I'll
> try the alternative version.
>
> THK
>
>
>>
>> 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