* installing *source* package 'excel.link' ...
** this is package 'excel.link' version '0.9.15'
** package 'excel.link' 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_03_07_01_50_00_12595/RtmpWyfSFN/R.INSTALL55c44c452914/excel.link/src'
g++ -std=gnu++20  -I"D:/RCompile/recent/R/include" -DNDEBUG -D_GNU_ -DNO_PYCOM_IPROVIDECLASSINFO -I.    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c COMError.cpp -o COMError.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R/include" -DNDEBUG -D_GNU_ -DNO_PYCOM_IPROVIDECLASSINFO -I.    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c RCOMObject.cpp -o RCOMObject.o
gcc  -I"D:/RCompile/recent/R/include" -DNDEBUG -D_GNU_ -DNO_PYCOM_IPROVIDECLASSINFO -I.    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x  -mfpmath=sse -msse2 -mstackrealign   -c RUtils.c -o RUtils.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R/include" -DNDEBUG -D_GNU_ -DNO_PYCOM_IPROVIDECLASSINFO -I.    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c connect.cpp -o connect.o
g++ -std=gnu++20  -I"D:/RCompile/recent/R/include" -DNDEBUG -D_GNU_ -DNO_PYCOM_IPROVIDECLASSINFO -I.    -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c converters.cpp -o converters.o
converters.cpp: In function 'VARIANT* R_getVariantRef(SEXP)':
converters.cpp:355:6: error: 'EXTPTR_TAG' was not declared in this scope; did you mean 'EXTPTR_PTR'?
  355 |   if(EXTPTR_TAG(ref) != Rf_install("VARIANTReference")) {
      |      ^~~~~~~~~~
      |      EXTPTR_PTR
converters.cpp: In function 'HRESULT R_convertRObjectToDCOM(SEXP, VARIANT*)':
converters.cpp:730:26: error: 'EXTPTR_TAG' was not declared in this scope; did you mean 'EXTPTR_PTR'?
  730 |  if(type == EXTPTRSXP && EXTPTR_TAG(obj) == Rf_install("R_VARIANT")) {
      |                          ^~~~~~~~~~
      |                          EXTPTR_PTR
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: converters.o] Error 1
make[1]: Leaving directory '/d/temp/2026_03_07_01_50_00_12595/RtmpWyfSFN/R.INSTALL55c44c452914/excel.link/src'
ERROR: compilation failed for package 'excel.link'
* removing 'd:/Rcompile/CRANpkg/lib/4.6/excel.link'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.6/excel.link'