From 18a193cffda40b8452b5796b7144899c0ad01c32 Mon Sep 17 00:00:00 2001 From: Marvin Wright Date: Wed, 8 Nov 2023 09:26:36 +0100 Subject: [PATCH] C++14 not C++11 --- src/{AAA_check_cpp11.cpp => AAA_check_cpp14.cpp} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename src/{AAA_check_cpp11.cpp => AAA_check_cpp14.cpp} (75%) diff --git a/src/AAA_check_cpp11.cpp b/src/AAA_check_cpp14.cpp similarity index 75% rename from src/AAA_check_cpp11.cpp rename to src/AAA_check_cpp14.cpp index 0b927ccd..7d785bc6 100644 --- a/src/AAA_check_cpp11.cpp +++ b/src/AAA_check_cpp14.cpp @@ -1,6 +1,6 @@ #ifndef WIN_R_BUILD #if __cplusplus < 201402L -#error Error: ranger requires C++14. Possible fixes: 1) Update R, 2) Set "CXX = g++ -std=gnu++11" or similar in local Makevars, 3) update C++ compiler. See https://github.com/imbs-hl/ranger/wiki/FAQ. +#error Error: ranger requires C++14. Possible fixes: 1) Update R, 2) Set "CXX = g++ -std=gnu++14" or similar in local Makevars, 3) update C++ compiler. See https://github.com/imbs-hl/ranger/wiki/FAQ. #endif #endif