* installing *source* package 'flan' ...
** this is package 'flan' version '1.0'
** package 'flan' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 14.3.0'
using C++ compiler: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_04_22_01_50_00_3429/RtmpkvuQhH/R.INSTALL8730777150a2/flan/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.5.3/include" -DNDEBUG -Wall -pedantic -I/include -I. -I../inst/include -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppGSL/include'   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"   -std=c++0x   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c FLAN_Clone.cpp -o FLAN_Clone.o
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:27,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:51,
                 from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/RcppArmadillo.h:29,
                 from MATH_Function.h:5,
                 from FLAN_Clone.h:25,
                 from FLAN_Clone.cpp:24:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/compiler_check.hpp:82:4: error: #error "*** C++14 compiler required; enable C++14 mode in your compiler, or use an earlier version of Armadillo"
   82 |   #error "*** C++14 compiler required; enable C++14 mode in your compiler, or use an earlier version of Armadillo"
      |    ^~~~~
In file included from D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo:501:
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:27:1: error: 'accu' function uses 'auto' type specifier without trailing return type
   27 | auto
      | ^~~~
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:27:1: note: deduced return type only available with '-std=c++14' or '-std=gnu++14'
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:42:1: error: 'accu' function uses 'auto' type specifier without trailing return type
   42 | auto
      | ^~~~
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:42:1: note: deduced return type only available with '-std=c++14' or '-std=gnu++14'
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:57:1: error: 'accu' function uses 'auto' type specifier without trailing return type
   57 | auto
      | ^~~~
D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include/armadillo_bits/fn_accu.hpp:57:1: note: deduced return type only available with '-std=c++14' or '-std=gnu++14'
make[1]: *** [D:/RCompile/recent/R-4.5.3/etc/x64/Makeconf:302: FLAN_Clone.o] Error 1
make[1]: Leaving directory '/d/temp/2026_04_22_01_50_00_3429/RtmpkvuQhH/R.INSTALL8730777150a2/flan/src'
ERROR: compilation failed for package 'flan'
* removing 'd:/Rcompile/CRANpkg/lib/4.5/flan'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/flan'