From aa6ea84acd684428f7420274ebfa3d39c7e27000 Mon Sep 17 00:00:00 2001 From: bjaeger Date: Thu, 5 Oct 2023 08:54:22 -0400 Subject: [PATCH] revert that cpp14 drop --- src/ForestSurvival.cpp | 2 ++ src/Makevars | 1 + src/Makevars.win | 1 + 3 files changed, 4 insertions(+) diff --git a/src/ForestSurvival.cpp b/src/ForestSurvival.cpp index b6ef3576..e4afbd24 100644 --- a/src/ForestSurvival.cpp +++ b/src/ForestSurvival.cpp @@ -4,6 +4,8 @@ #include "ForestSurvival.h" #include "TreeSurvival.h" +#include + using namespace arma; using namespace Rcpp; diff --git a/src/Makevars b/src/Makevars index 3a7f8ac9..6660c7f9 100644 --- a/src/Makevars +++ b/src/Makevars @@ -1,2 +1,3 @@ +CXX_STD = CXX14 PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS) diff --git a/src/Makevars.win b/src/Makevars.win index 3a7f8ac9..6660c7f9 100644 --- a/src/Makevars.win +++ b/src/Makevars.win @@ -1,2 +1,3 @@ +CXX_STD = CXX14 PKG_CXXFLAGS = $(SHLIB_OPENMP_CXXFLAGS) PKG_LIBS = $(SHLIB_OPENMP_CXXFLAGS) $(LAPACK_LIBS) $(BLAS_LIBS) $(FLIBS)