* installing *source* package 'excel.link' ...
** package 'excel.link' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 12.3.0'
using C++ compiler: 'g++.exe (GCC) 12.3.0'
make[1]: Entering directory '/d/temp/2025_02_21_01_50_00_1228/RtmpOwGX4n/R.INSTALL268542a011262/excel.link/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG -D_GNU_ -DNO_PYCOM_IPROVIDECLASSINFO -I.    -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c COMError.cpp -o COMError.o
In file included from RCOMObject.h:48,
                 from COMError.cpp:17:
COMError.cpp: In function 'HRESULT checkErrorInfo(IUnknown*, HRESULT, SEXPREC**)':
D:/RCompile/recent/R-4.3.3/include/Rdefines.h:182:33: error: 'mkChar' was not declared in this scope
  182 | #define COPY_TO_USER_STRING(x)  mkChar(x)
      |                                 ^~~~~~
D:/RCompile/recent/R-4.3.3/include/Rdefines.h:182:33: note: in definition of macro 'COPY_TO_USER_STRING'
  182 | #define COPY_TO_USER_STRING(x)  mkChar(x)
      |                                 ^~~~~~
COMError.cpp: In function 'SEXPREC* R_createCOMErrorCodes()':
D:/RCompile/recent/R-4.3.3/include/Rdefines.h:182:33: error: 'mkChar' was not declared in this scope
  182 | #define COPY_TO_USER_STRING(x)  mkChar(x)
      |                                 ^~~~~~
D:/RCompile/recent/R-4.3.3/include/Rdefines.h:182:33: note: in definition of macro 'COPY_TO_USER_STRING'
  182 | #define COPY_TO_USER_STRING(x)  mkChar(x)
      |                                 ^~~~~~
make[1]: *** [D:/RCompile/recent/R-4.3.3/etc/x64/Makeconf:272: COMError.o] Error 1
make[1]: Leaving directory '/d/temp/2025_02_21_01_50_00_1228/RtmpOwGX4n/R.INSTALL268542a011262/excel.link/src'
ERROR: compilation failed for package 'excel.link'
* removing 'd:/Rcompile/CRANpkg/lib/4.3/excel.link'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.3/excel.link'