* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘xgboost’ ...
** package ‘xgboost’ successfully unpacked and MD5 sums checked
** using staged installation
checking Backtrace lib... 
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether clang++-17 -std=gnu++17 accepts -g... yes
checking for clang++-17 -std=gnu++17 option to enable C++11 features... none needed
checking for backtrace in -lexecinfo... no
checking endian... 
configure: creating ./config.status
config.status: creating src/Makevars
** libs
Makevars:17: -DXGBOOST_STRICT_R_MODE=1
Makevars:17: -DDMLC_LOG_BEFORE_THROW=0
Makevars:17: -DDMLC_ENABLE_STD_THREAD=1
Makevars:17: -DDMLC_DISABLE_STDIN=1
Makevars:17: -DDMLC_LOG_CUSTOMIZE=1
Makevars:17: -DXGBOOST_CUSTOMIZE_LOGGER=1
Makevars:17: -DRABIT_CUSTOMIZE_MSG_
using C compiler: ‘Debian clang version 17.0.5 (1)’
using C++ compiler: ‘Debian clang version 17.0.5 (1)’
using C++17
make[1]: Entering directory '/tmp/RtmpiO6SlH/R.INSTALL3104a347b72a14/xgboost/src'
Makevars:17: -DXGBOOST_STRICT_R_MODE=1
Makevars:17: -DDMLC_LOG_BEFORE_THROW=0
Makevars:17: -DDMLC_ENABLE_STD_THREAD=1
Makevars:17: -DDMLC_DISABLE_STDIN=1
Makevars:17: -DDMLC_LOG_CUSTOMIZE=1
Makevars:17: -DXGBOOST_CUSTOMIZE_LOGGER=1
Makevars:17: -DRABIT_CUSTOMIZE_MSG_
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c xgboost_R.cc -o xgboost_R.o
xgboost_R.cc:70:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   70 |   CHECK_CALL(XGDMatrixFree(R_ExternalPtrAddr(ext)));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:70:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:72:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   72 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:72:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:77:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   77 |   CHECK_CALL(XGBSetGlobalConfig(CHAR(asChar(json_str))));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:77:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:78:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   78 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:78:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:85:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   85 |   CHECK_CALL(XGBGetGlobalConfig(&json_str));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:85:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:86:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   86 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:86:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:94:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   94 |   CHECK_CALL(XGDMatrixCreateFromFile(CHAR(asChar(fname)), asInteger(silent), &handle));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:94:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:97:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
   97 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:97:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:125:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  125 |   CHECK_CALL(XGDMatrixCreateFromMat_omp(BeginPtr(data), nrow, ncol,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  126 |                                         asReal(missing), &handle, threads));
      |                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:125:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:129:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  129 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:129:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:157:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  157 |   CHECK_CALL(XGDMatrixCreateFromCSCEx(BeginPtr(col_ptr_), BeginPtr(indices_),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  158 |                                       BeginPtr(data_), nindptr, ndata,
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  159 |                                       nrow, &handle));
      |                                       ~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:157:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:162:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  162 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:162:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:190:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  190 |   CHECK_CALL(XGDMatrixCreateFromCSREx(BeginPtr(row_ptr_), BeginPtr(indices_),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  191 |                                       BeginPtr(data_), nindptr, ndata,
      |                                       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  192 |                                       ncol, &handle));
      |                                       ~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:190:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:195:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  195 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:195:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:209:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  209 |   CHECK_CALL(XGDMatrixSliceDMatrixEx(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  210 |                                      BeginPtr(idxvec), len,
      |                                      ~~~~~~~~~~~~~~~~~~~~~~
  211 |                                      &res,
      |                                      ~~~~~
  212 |                                      0));
      |                                      ~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:209:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:215:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  215 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:215:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:222:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  222 |   CHECK_CALL(XGDMatrixSaveBinary(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  223 |                                  CHAR(asChar(fname)),
      |                                  ~~~~~~~~~~~~~~~~~~~~
  224 |                                  asInteger(silent)));
      |                                  ~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:222:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:225:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  225 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:225:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:239:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  239 |     CHECK_CALL(
      |     ^~~~~~~~~~~
  240 |         XGDMatrixSetUIntInfo(R_ExternalPtrAddr(handle), CHAR(asChar(field)), BeginPtr(vec), len));
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:239:5: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:245:5: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  245 |     CHECK_CALL(
      |     ^~~~~~~~~~~
  246 |         XGDMatrixSetFloatInfo(R_ExternalPtrAddr(handle), CHAR(asChar(field)), BeginPtr(vec), len));
      |         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:245:5: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:248:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  248 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:248:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:267:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  267 |   CHECK_CALL(XGDMatrixSetStrFeatureInfo(R_ExternalPtrAddr(handle), name, vec.data(), len));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:267:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:268:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  268 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:268:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:288:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  288 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:288:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:298:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  298 |   CHECK_CALL(XGDMatrixGetFloatInfo(R_ExternalPtrAddr(handle), CHAR(asChar(field)), &olen, &res));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:298:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:303:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  303 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:303:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:311:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  311 |   CHECK_CALL(XGDMatrixNumRow(R_ExternalPtrAddr(handle), &nrow));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:311:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:312:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  312 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:312:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:319:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  319 |   CHECK_CALL(XGDMatrixNumCol(R_ExternalPtrAddr(handle), &ncol));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:319:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:320:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  320 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:320:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:327:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  327 |   CHECK_CALL(XGBoosterFree(R_ExternalPtrAddr(ext)));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:327:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:340:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  340 |   CHECK_CALL(XGBoosterCreate(BeginPtr(dvec), dvec.size(), &handle));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:340:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:343:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  343 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:343:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:356:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  356 |   CHECK_CALL(XGBoosterCreate(BeginPtr(dvec), dvec.size(), &handle));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:356:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:359:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  359 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:359:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:365:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  365 |   CHECK_CALL(XGBoosterSetParam(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  366 |                                CHAR(asChar(name)),
      |                                ~~~~~~~~~~~~~~~~~~~
  367 |                                CHAR(asChar(val))));
      |                                ~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:365:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:368:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  368 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:368:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:374:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  374 |   CHECK_CALL(XGBoosterUpdateOneIter(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  375 |                                   asInteger(iter),
      |                                   ~~~~~~~~~~~~~~~~
  376 |                                   R_ExternalPtrAddr(dtrain)));
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:374:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:377:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  377 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:377:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:392:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  392 |   CHECK_CALL(XGBoosterBoostOneIter(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  393 |                                  R_ExternalPtrAddr(dtrain),
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~
  394 |                                  BeginPtr(tgrad), BeginPtr(thess),
      |                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  395 |                                  len));
      |                                  ~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:392:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:396:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  396 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:396:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:416:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  416 |   CHECK_CALL(XGBoosterEvalOneIter(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  417 |                                   asInteger(iter),
      |                                   ~~~~~~~~~~~~~~~~
  418 |                                   BeginPtr(vec_dmats),
      |                                   ~~~~~~~~~~~~~~~~~~~~
  419 |                                   BeginPtr(vec_sptr),
      |                                   ~~~~~~~~~~~~~~~~~~~
  420 |                                   len, &ret));
      |                                   ~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:416:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:421:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  421 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:421:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:431:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  431 |   CHECK_CALL(XGBoosterPredict(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  432 |                               R_ExternalPtrAddr(dmat),
      |                               ~~~~~~~~~~~~~~~~~~~~~~~~
  433 |                               asInteger(option_mask),
      |                               ~~~~~~~~~~~~~~~~~~~~~~~
  434 |                               asInteger(ntree_limit),
      |                               ~~~~~~~~~~~~~~~~~~~~~~~
  435 |                               asInteger(training),
      |                               ~~~~~~~~~~~~~~~~~~~~
  436 |                               &olen, &res));
      |                               ~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:431:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:441:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  441 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:441:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:457:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  457 |   CHECK_CALL(XGBoosterPredictFromDMatrix(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  458 |                                          R_ExternalPtrAddr(dmat), c_json_config,
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  459 |                                          &out_shape, &out_dim, &out_result));
      |                                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:457:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:478:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  478 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:478:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:486:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  486 |   CHECK_CALL(XGBoosterLoadModel(R_ExternalPtrAddr(handle), CHAR(asChar(fname))));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:486:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:487:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  487 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:487:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:493:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  493 |   CHECK_CALL(XGBoosterSaveModel(R_ExternalPtrAddr(handle), CHAR(asChar(fname))));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:493:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:494:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  494 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:494:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:500:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  500 |   CHECK_CALL(XGBoosterLoadModelFromBuffer(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  501 |                                           RAW(raw),
      |                                           ~~~~~~~~~
  502 |                                           length(raw)));
      |                                           ~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:500:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:503:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  503 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:503:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:513:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  513 |   CHECK_CALL(XGBoosterSaveModelToBuffer(R_ExternalPtrAddr(handle), c_json_config, &olen, &raw))
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:513:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:518:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  518 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:518:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:527:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  527 |   CHECK_CALL(XGBoosterSaveJsonConfig(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  528 |                                      &len,
      |                                      ~~~~~
  529 |                                      &ret));
      |                                      ~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:527:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:530:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  530 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:530:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:536:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  536 |   CHECK_CALL(XGBoosterLoadJsonConfig(R_ExternalPtrAddr(handle), CHAR(asChar(value))));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:536:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:537:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  537 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:537:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:546:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  546 |   CHECK_CALL(XGBoosterSerializeToBuffer(R_ExternalPtrAddr(handle), &out_len, &raw));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:546:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:551:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  551 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:551:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:558:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  558 |   CHECK_CALL(XGBoosterUnserializeFromBuffer(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  559 |                                  RAW(raw),
      |                                  ~~~~~~~~~
  560 |                                  length(raw)));
      |                                  ~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:558:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:561:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  561 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:561:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:571:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  571 |   CHECK_CALL(XGBoosterDumpModelEx(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  572 |                                 CHAR(asChar(fmap)),
      |                                 ~~~~~~~~~~~~~~~~~~~
  573 |                                 asInteger(with_stats),
      |                                 ~~~~~~~~~~~~~~~~~~~~~~
  574 |                                 fmt,
      |                                 ~~~~
  575 |                                 &olen, &res));
      |                                 ~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:571:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:597:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  597 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:597:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:607:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  607 |   CHECK_CALL(XGBoosterGetAttr(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  608 |                               CHAR(asChar(name)),
      |                               ~~~~~~~~~~~~~~~~~~~
  609 |                               &val,
      |                               ~~~~~
  610 |                               &success));
      |                               ~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:607:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:617:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  617 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:617:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:625:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  625 |   CHECK_CALL(XGBoosterSetAttr(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  626 |                               CHAR(asChar(name)), v));
      |                               ~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:625:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:627:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  627 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:627:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:636:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  636 |   CHECK_CALL(XGBoosterGetAttrNames(R_ExternalPtrAddr(handle),
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  637 |                                    &len, &res));
      |                                    ~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:636:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:646:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  646 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:646:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
xgboost_R.cc:666:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  666 |   CHECK_CALL(XGBoosterFeatureScore(R_ExternalPtrAddr(handle), c_json_config,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  667 |                                    &out_n_features, &out_features,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  668 |                                    &out_dim, &out_shape, &out_scores));
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^~~~~~~~~~~~~~~~~
xgboost_R.cc:666:3: note: treat the string as an argument to avoid this
xgboost_R.cc:44:11: note: expanded from macro 'CHECK_CALL'
   44 |     error(XGBGetLastError());                   \
      |           ^
xgboost_R.cc:692:3: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  692 |   R_API_END();
      |   ^~~~~~~~~~~
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^~~~~~~~
xgboost_R.cc:692:3: note: treat the string as an argument to avoid this
xgboost_R.cc:35:11: note: expanded from macro 'R_API_END'
   35 |     error(e.what());                            \
      |           ^
73 warnings generated.
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c xgboost_custom.cc -o xgboost_custom.o
clang-17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3   -fpic  -g -O3 -Wall -pedantic -c init.c -o init.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/metric/metric.cc -o src/metric/metric.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/metric/elementwise_metric.cc -o src/metric/elementwise_metric.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/metric/multiclass_metric.cc -o src/metric/multiclass_metric.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/metric/rank_metric.cc -o src/metric/rank_metric.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/metric/auc.cc -o src/metric/auc.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/metric/survival_metric.cc -o src/metric/survival_metric.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/objective/objective.cc -o src/objective/objective.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/objective/regression_obj.cc -o src/objective/regression_obj.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/objective/multiclass_obj.cc -o src/objective/multiclass_obj.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/objective/rank_obj.cc -o src/objective/rank_obj.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/objective/hinge.cc -o src/objective/hinge.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/objective/aft_obj.cc -o src/objective/aft_obj.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/objective/adaptive.cc -o src/objective/adaptive.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/gbm/gbm.cc -o src/gbm/gbm.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/gbm/gbtree.cc -o src/gbm/gbtree.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/gbm/gbtree_model.cc -o src/gbm/gbtree_model.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/gbm/gblinear.cc -o src/gbm/gblinear.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/gbm/gblinear_model.cc -o src/gbm/gblinear_model.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/data/simple_dmatrix.cc -o src/data/simple_dmatrix.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/data/data.cc -o src/data/data.o
In file included from src/data/data.cc:22:
In file included from src/data/./sparse_page_dmatrix.h:19:
In file included from src/data/./ellpack_page_source.h:15:
In file included from src/data/./sparse_page_source.h:21:
In file included from src/data/./sparse_page_writer.h:20:
./dmlc-core/include/dmlc/concurrency.h:36:22: warning: braces around scalar initializer [-Wbraced-scalar-init]
   36 |   Spinlock() : lock_(ATOMIC_FLAG_INIT) {
      |                      ^~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:209:26: note: expanded from macro 'ATOMIC_FLAG_INIT'
  209 | #define ATOMIC_FLAG_INIT { 0 }
      |                          ^~~~~
1 warning generated.
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/data/sparse_page_raw_format.cc -o src/data/sparse_page_raw_format.o
In file included from src/data/sparse_page_raw_format.cc:10:
In file included from src/data/./sparse_page_writer.h:20:
./dmlc-core/include/dmlc/concurrency.h:36:22: warning: braces around scalar initializer [-Wbraced-scalar-init]
   36 |   Spinlock() : lock_(ATOMIC_FLAG_INIT) {
      |                      ^~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:209:26: note: expanded from macro 'ATOMIC_FLAG_INIT'
  209 | #define ATOMIC_FLAG_INIT { 0 }
      |                          ^~~~~
1 warning generated.
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/data/ellpack_page.cc -o src/data/ellpack_page.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/data/gradient_index.cc -o src/data/gradient_index.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/data/gradient_index_page_source.cc -o src/data/gradient_index_page_source.o
In file included from src/data/gradient_index_page_source.cc:4:
In file included from src/data/gradient_index_page_source.h:11:
In file included from src/data/sparse_page_source.h:21:
In file included from src/data/sparse_page_writer.h:20:
./dmlc-core/include/dmlc/concurrency.h:36:22: warning: braces around scalar initializer [-Wbraced-scalar-init]
   36 |   Spinlock() : lock_(ATOMIC_FLAG_INIT) {
      |                      ^~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:209:26: note: expanded from macro 'ATOMIC_FLAG_INIT'
  209 | #define ATOMIC_FLAG_INIT { 0 }
      |                          ^~~~~
1 warning generated.
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/data/gradient_index_format.cc -o src/data/gradient_index_format.o
In file included from src/data/gradient_index_format.cc:4:
In file included from src/data/sparse_page_writer.h:20:
./dmlc-core/include/dmlc/concurrency.h:36:22: warning: braces around scalar initializer [-Wbraced-scalar-init]
   36 |   Spinlock() : lock_(ATOMIC_FLAG_INIT) {
      |                      ^~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:209:26: note: expanded from macro 'ATOMIC_FLAG_INIT'
  209 | #define ATOMIC_FLAG_INIT { 0 }
      |                          ^~~~~
1 warning generated.
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/data/sparse_page_dmatrix.cc -o src/data/sparse_page_dmatrix.o
In file included from src/data/sparse_page_dmatrix.cc:7:
In file included from src/data/./sparse_page_dmatrix.h:19:
In file included from src/data/./ellpack_page_source.h:15:
In file included from src/data/./sparse_page_source.h:21:
In file included from src/data/./sparse_page_writer.h:20:
./dmlc-core/include/dmlc/concurrency.h:36:22: warning: braces around scalar initializer [-Wbraced-scalar-init]
   36 |   Spinlock() : lock_(ATOMIC_FLAG_INIT) {
      |                      ^~~~~~~~~~~~~~~~
/usr/bin/../lib/gcc/x86_64-linux-gnu/13/../../../../include/c++/13/bits/atomic_base.h:209:26: note: expanded from macro 'ATOMIC_FLAG_INIT'
  209 | #define ATOMIC_FLAG_INIT { 0 }
      |                          ^~~~~
1 warning generated.
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/data/proxy_dmatrix.cc -o src/data/proxy_dmatrix.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/data/iterative_dmatrix.cc -o src/data/iterative_dmatrix.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/predictor/predictor.cc -o src/predictor/predictor.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/predictor/cpu_predictor.cc -o src/predictor/cpu_predictor.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/tree/constraints.cc -o src/tree/constraints.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/tree/param.cc -o src/tree/param.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/tree/tree_model.cc -o src/tree/tree_model.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/tree/tree_updater.cc -o src/tree/tree_updater.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/tree/updater_approx.cc -o src/tree/updater_approx.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/tree/updater_colmaker.cc -o src/tree/updater_colmaker.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/tree/updater_prune.cc -o src/tree/updater_prune.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/tree/updater_quantile_hist.cc -o src/tree/updater_quantile_hist.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/tree/updater_refresh.cc -o src/tree/updater_refresh.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/tree/updater_sync.cc -o src/tree/updater_sync.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/linear/linear_updater.cc -o src/linear/linear_updater.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/linear/updater_coordinate.cc -o src/linear/updater_coordinate.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/linear/updater_shotgun.cc -o src/linear/updater_shotgun.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/learner.cc -o src/learner.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/logging.cc -o src/logging.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/global_config.cc -o src/global_config.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/collective/communicator.cc -o src/collective/communicator.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/collective/socket.cc -o src/collective/socket.o
In file included from src/collective/socket.cc:4:
./include/xgboost/collective/socket.h:65:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
   65 | #if xgboost_IS_MINGW()
      |     ^
./include/xgboost/collective/socket.h:21:28: note: expanded from macro 'xgboost_IS_MINGW'
   21 | #define xgboost_IS_MINGW() defined(__MINGW32__)
      |                            ^
./include/xgboost/collective/socket.h:147:24: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
  147 | #if defined(_WIN32) && xgboost_IS_MINGW()
      |                        ^
./include/xgboost/collective/socket.h:21:28: note: expanded from macro 'xgboost_IS_MINGW'
   21 | #define xgboost_IS_MINGW() defined(__MINGW32__)
      |                            ^
./include/xgboost/collective/socket.h:511:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
  511 | #if xgboost_IS_MINGW()
      |     ^
./include/xgboost/collective/socket.h:21:28: note: expanded from macro 'xgboost_IS_MINGW'
   21 | #define xgboost_IS_MINGW() defined(__MINGW32__)
      |                            ^
3 warnings generated.
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/charconv.cc -o src/common/charconv.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/column_matrix.cc -o src/common/column_matrix.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/common.cc -o src/common/common.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/hist_util.cc -o src/common/hist_util.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/host_device_vector.cc -o src/common/host_device_vector.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/io.cc -o src/common/io.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/json.cc -o src/common/json.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/numeric.cc -o src/common/numeric.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/pseudo_huber.cc -o src/common/pseudo_huber.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/quantile.cc -o src/common/quantile.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/random.cc -o src/common/random.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/survival_util.cc -o src/common/survival_util.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/threading_utils.cc -o src/common/threading_utils.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/timer.cc -o src/common/timer.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/common/version.cc -o src/common/version.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/c_api/c_api.cc -o src/c_api/c_api.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c src/c_api/c_api_error.cc -o src/c_api/c_api_error.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c amalgamation/dmlc-minimum0.cc -o amalgamation/dmlc-minimum0.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c rabit/src/engine.cc -o rabit/src/engine.o
In file included from rabit/src/engine.cc:14:
In file included from rabit/src/allreduce_base.h:22:
In file included from ./rabit/include/rabit/internal/socket.h:8:
./include/xgboost/collective/socket.h:65:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
   65 | #if xgboost_IS_MINGW()
      |     ^
./include/xgboost/collective/socket.h:21:28: note: expanded from macro 'xgboost_IS_MINGW'
   21 | #define xgboost_IS_MINGW() defined(__MINGW32__)
      |                            ^
./include/xgboost/collective/socket.h:147:24: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
  147 | #if defined(_WIN32) && xgboost_IS_MINGW()
      |                        ^
./include/xgboost/collective/socket.h:21:28: note: expanded from macro 'xgboost_IS_MINGW'
   21 | #define xgboost_IS_MINGW() defined(__MINGW32__)
      |                            ^
./include/xgboost/collective/socket.h:511:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
  511 | #if xgboost_IS_MINGW()
      |     ^
./include/xgboost/collective/socket.h:21:28: note: expanded from macro 'xgboost_IS_MINGW'
   21 | #define xgboost_IS_MINGW() defined(__MINGW32__)
      |                            ^
In file included from rabit/src/engine.cc:14:
In file included from rabit/src/allreduce_base.h:22:
./rabit/include/rabit/internal/socket.h:46:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
   46 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
      |     ^
./rabit/include/rabit/internal/socket.h:44:20: note: expanded from macro 'IS_MINGW'
   44 | #define IS_MINGW() defined(__MINGW32__)
      |                    ^
./rabit/include/rabit/internal/socket.h:190:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
  190 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
      |     ^
./rabit/include/rabit/internal/socket.h:44:20: note: expanded from macro 'IS_MINGW'
   44 | #define IS_MINGW() defined(__MINGW32__)
      |                    ^
5 warnings generated.
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c rabit/src/rabit_c_api.cc -o rabit/src/rabit_c_api.o
clang++-17 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_  -I/usr/local/include -D_FORTIFY_SOURCE=3  -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic  -g -O3 -Wall -pedantic -c rabit/src/allreduce_base.cc -o rabit/src/allreduce_base.o
In file included from rabit/src/allreduce_base.cc:14:
In file included from rabit/src/allreduce_base.h:22:
In file included from ./rabit/include/rabit/internal/socket.h:8:
./include/xgboost/collective/socket.h:65:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
   65 | #if xgboost_IS_MINGW()
      |     ^
./include/xgboost/collective/socket.h:21:28: note: expanded from macro 'xgboost_IS_MINGW'
   21 | #define xgboost_IS_MINGW() defined(__MINGW32__)
      |                            ^
./include/xgboost/collective/socket.h:147:24: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
  147 | #if defined(_WIN32) && xgboost_IS_MINGW()
      |                        ^
./include/xgboost/collective/socket.h:21:28: note: expanded from macro 'xgboost_IS_MINGW'
   21 | #define xgboost_IS_MINGW() defined(__MINGW32__)
      |                            ^
./include/xgboost/collective/socket.h:511:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
  511 | #if xgboost_IS_MINGW()
      |     ^
./include/xgboost/collective/socket.h:21:28: note: expanded from macro 'xgboost_IS_MINGW'
   21 | #define xgboost_IS_MINGW() defined(__MINGW32__)
      |                            ^
In file included from rabit/src/allreduce_base.cc:14:
In file included from rabit/src/allreduce_base.h:22:
./rabit/include/rabit/internal/socket.h:46:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
   46 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
      |     ^
./rabit/include/rabit/internal/socket.h:44:20: note: expanded from macro 'IS_MINGW'
   44 | #define IS_MINGW() defined(__MINGW32__)
      |                    ^
./rabit/include/rabit/internal/socket.h:190:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined]
  190 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
      |     ^
./rabit/include/rabit/internal/socket.h:44:20: note: expanded from macro 'IS_MINGW'
   44 | #define IS_MINGW() defined(__MINGW32__)
      |                    ^
5 warnings generated.
clang++-17 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o xgboost.so ./xgboost_R.o ./xgboost_custom.o ./init.o ./src/metric/metric.o ./src/metric/elementwise_metric.o ./src/metric/multiclass_metric.o ./src/metric/rank_metric.o ./src/metric/auc.o ./src/metric/survival_metric.o ./src/objective/objective.o ./src/objective/regression_obj.o ./src/objective/multiclass_obj.o ./src/objective/rank_obj.o ./src/objective/hinge.o ./src/objective/aft_obj.o ./src/objective/adaptive.o ./src/gbm/gbm.o ./src/gbm/gbtree.o ./src/gbm/gbtree_model.o ./src/gbm/gblinear.o ./src/gbm/gblinear_model.o ./src/data/simple_dmatrix.o ./src/data/data.o ./src/data/sparse_page_raw_format.o ./src/data/ellpack_page.o ./src/data/gradient_index.o ./src/data/gradient_index_page_source.o ./src/data/gradient_index_format.o ./src/data/sparse_page_dmatrix.o ./src/data/proxy_dmatrix.o ./src/data/iterative_dmatrix.o ./src/predictor/predictor.o ./src/predictor/cpu_predictor.o ./src/tree/constraints.o ./src/tree/param.o ./src/tree/tree_model.o ./src/tree/tree_updater.o ./src/tree/updater_approx.o ./src/tree/updater_colmaker.o ./src/tree/updater_prune.o ./src/tree/updater_quantile_hist.o ./src/tree/updater_refresh.o ./src/tree/updater_sync.o ./src/linear/linear_updater.o ./src/linear/updater_coordinate.o ./src/linear/updater_shotgun.o ./src/learner.o ./src/logging.o ./src/global_config.o ./src/collective/communicator.o ./src/collective/socket.o ./src/common/charconv.o ./src/common/column_matrix.o ./src/common/common.o ./src/common/hist_util.o ./src/common/host_device_vector.o ./src/common/io.o ./src/common/json.o ./src/common/numeric.o ./src/common/pseudo_huber.o ./src/common/quantile.o ./src/common/random.o ./src/common/survival_util.o ./src/common/threading_utils.o ./src/common/timer.o ./src/common/version.o ./src/c_api/c_api.o ./src/c_api/c_api_error.o ./amalgamation/dmlc-minimum0.o ./rabit/src/engine.o ./rabit/src/rabit_c_api.o ./rabit/src/allreduce_base.o -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpiO6SlH/R.INSTALL3104a347b72a14/xgboost/src'
make[1]: Entering directory '/tmp/RtmpiO6SlH/R.INSTALL3104a347b72a14/xgboost/src'
Makevars:17: -DXGBOOST_STRICT_R_MODE=1
Makevars:17: -DDMLC_LOG_BEFORE_THROW=0
Makevars:17: -DDMLC_ENABLE_STD_THREAD=1
Makevars:17: -DDMLC_DISABLE_STDIN=1
Makevars:17: -DDMLC_LOG_CUSTOMIZE=1
Makevars:17: -DXGBOOST_CUSTOMIZE_LOGGER=1
Makevars:17: -DRABIT_CUSTOMIZE_MSG_
make[1]: Leaving directory '/tmp/RtmpiO6SlH/R.INSTALL3104a347b72a14/xgboost/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-xgboost/00new/xgboost/libs
** R
** data
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (xgboost)