p11.cpp
<https://github.com/mnwright/ranger/blob/master/ranger-r-package/ranger/src/AAA_check_cpp11.cpp>.
This isn’t beautiful, but the error message is better and it’s fine on CRAN.
> On 16 Nov 2015, at 13:56, Dirk Eddelbuettel wrote:
>
>
> On 16 November 2015 at 13:07
Dear all,
I would like to check for C++11 support in a package. The package requires gcc
>= 4.7 or clang >= 3.0. Windows is handled differently in Makevars.win. I tried
two approaches in Makevars so far, but both give warnings in CRAN checks.
Approach 1:
## Check for gcc >= 4.7
ifeq ($(shell