Hi Tim, if you look in the history of the mailing list there's been a few
questions surrounding c++17. But most of what I've seen is to have flags to
turn on and off the c++17 parts of your code. I get it, and not impossible
to do cleanly with boost macros, but kind of a bummer.  It would be nice to
have a larger discussion around CRAN c++17 based packages as now that the
windows gcc version is bumped up to 8 working in 17 seems much more
feasible. While most of 17 is "slice of life" features it's much nicer to
write imo.

Is Solaris the only system that does not yet support 17?

On Mon, Jul 26, 2021, 11:52 AM Tim Keitt <tke...@gmail.com> wrote:

> Hi Folks,
>
> It appears that c++17 is not supported on all platforms used by CRAN. Is
> there a workaround?
>
> I have CXX_STD = CXX17 in the package Makevars file, but see
> https://cran.r-project.org/web/checks/check_results_kdtools.html
>
> I assume if CXX17 is not defined, it is not available on that build owing
> to the compiler. I'm curious to know if anyone else has solved that
> problem.
>
> Thanks.
>
> THK
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

        [[alternative HTML version deleted]]

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to