* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘xgboost’ ...
** this is package ‘xgboost’ version ‘3.1.2.1’
** package ‘xgboost’ successfully unpacked and MD5 sums checked
** using staged installation
configure: Checking if/where backtrace is available
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 g++-14 -std=gnu++17 accepts -g... yes
checking for g++-14 -std=gnu++17 option to enable C++11 features... none needed
checking for backtrace in -lexecinfo... no
checking for backtrace... yes
configure: Checking whether fopen64 is available
checking for fopen64... yes
configure: Endian detection
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
configure: Checking system endianness as USE_LITTLE_ENDIAN is unset
checking whether byte ordering is bigendian... no
using little endian
configure: Checking for prefetch builtin
Doesn't have __builtin_prefetch
configure: Checking for mm_prefetch
Doesn't have _mm_prefetch
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating src/config.h
config.status: src/config.h is unchanged
** libs
Makevars:22: -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1
Makevars:22: -DXGBOOST_MM_PREFETCH_PRESENT=1
Makevars:22: -DXGBOOST_STRICT_R_MODE=1
Makevars:22: -DDMLC_LOG_BEFORE_THROW=0
Makevars:22: -DDMLC_ENABLE_STD_THREAD=1
Makevars:22: -DDMLC_DISABLE_STDIN=1
Makevars:22: -DDMLC_LOG_CUSTOMIZE=1
using C compiler: ‘gcc-14 (Debian 14.3.0-10) 14.3.0’
using C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpA4Gtv1/R.INSTALL28a9d222a7d31a/xgboost/src'
Makevars:22: -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1
Makevars:22: -DXGBOOST_MM_PREFETCH_PRESENT=1
Makevars:22: -DXGBOOST_STRICT_R_MODE=1
Makevars:22: -DDMLC_LOG_BEFORE_THROW=0
Makevars:22: -DDMLC_ENABLE_STD_THREAD=1
Makevars:22: -DDMLC_DISABLE_STDIN=1
Makevars:22: -DDMLC_LOG_CUSTOMIZE=1
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c xgboost_R.cc -o xgboost_R.o
In file included from ./dmlc-core/include/dmlc/common.h:15,
from xgboost_R.cc:4:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
./dmlc-core/include/../../src/data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = unsigned int; Y = int]’:
xgboost_R.cc:1350:9: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
./dmlc-core/include/../../src/data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 1; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/../../src/data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 1; bool allow_mask = true; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
./dmlc-core/include/../../src/data/array_interface.h:454:13: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::Json&) [with int D = 1; bool allow_mask = true]’
454 | this->Initialize(get<Object const>(array));
| ~~~~~~^~~~~~~~~~
./dmlc-core/include/../../src/data/array_interface.h:467:75: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(xgboost::StringView) [with int D = 1; bool allow_mask = true]’
467 | explicit ArrayInterface(StringView str) : ArrayInterface{Json::Load(str)} {}
| ^
xgboost_R.cc:239:66: required from here
239 | xgboost::ArrayInterface<1> array{xgboost::StringView{array_str}};
| ^
./dmlc-core/include/dmlc/./logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c xgboost_custom.cc -o xgboost_custom.o
In file included from ./include/xgboost/logging.h:11,
from xgboost_custom.cc:5:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
./dmlc-core/include/../../src/common/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c init.c -o init.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/metric/metric.cc -o src/metric/metric.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from src/metric/metric.cc:6:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/metric/elementwise_metric.cc -o src/metric/elementwise_metric.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from src/metric/elementwise_metric.cu:9,
from src/metric/elementwise_metric.cc:7:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/elementwise_metric.cu:466:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/metric/multiclass_metric.cc -o src/metric/multiclass_metric.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from ./include/xgboost/metric.h:10,
from src/metric/multiclass_metric.cu:7,
from src/metric/multiclass_metric.cc:7:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/metric/rank_metric.cc -o src/metric/rank_metric.o
In file included from ./include/xgboost/logging.h:11,
from src/metric/../common/common.h:18,
from src/metric/rank_metric.h:8,
from src/metric/rank_metric.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/metric/../common/ranking_utils.h:221:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/metric/auc.cc -o src/metric/auc.o
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/json.h:8,
from src/metric/../collective/communicator-inl.h:7,
from src/metric/auc.h:11,
from src/metric/auc.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/auc.cc:353:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/auc.cc:218:3: required from ‘std::pair<double, unsigned int> xgboost::metric::RankingAUC(const xgboost::Context*, const std::vector<float, std::allocator<float> >&, const xgboost::MetaInfo&, int32_t) [with bool is_roc = true; int32_t = int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/metric/auc.cc:344:27: required from here
344 | RankingAUC<true>(ctx_, predts.ConstHostVector(), info, n_threads);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/metric/survival_metric.cc -o src/metric/survival_metric.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from src/metric/survival_metric.cu:8,
from src/metric/survival_metric.cc:10:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/objective.cc -o src/objective/objective.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/regression_obj.cc -o src/objective/regression_obj.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from src/objective/regression_obj.cc:7:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/objective/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/multiclass_obj.cc -o src/objective/multiclass_obj.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from src/objective/multiclass_obj.cc:7:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/objective/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/objective/multiclass_obj.cu:45:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:199:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
199 | DEFINE_CHECK_FUNC(_LE, <=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = long int]’:
src/objective/multiclass_obj.cu:209:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const long int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/lambdarank_obj.cc -o src/objective/lambdarank_obj.o
In file included from ./dmlc-core/include/dmlc/common.h:15,
from src/objective/../common/numeric.h:7,
from src/objective/../common/algorithm.h:12,
from src/objective/lambdarank_obj.h:25,
from src/objective/lambdarank_obj.cc:4:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/objective/../common/ranking_utils.h:221:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/objective/lambdarank_obj.cc:489:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/objective/lambdarank_obj.cc:281:5: required from ‘xgboost::bst_target_t xgboost::obj::LambdaRankObj<Loss, Cache>::Targets(const xgboost::MetaInfo&) const [with Loss = xgboost::obj::LambdaRankMAP; Cache = xgboost::ltr::MAPCache; xgboost::bst_target_t = unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/objective/lambdarank_obj.cc:492:52: required from here
492 | out_gpair->Reshape(info.num_row_, this->Targets(info));
| ~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:199:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
199 | DEFINE_CHECK_FUNC(_LE, <=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/hinge.cc -o src/objective/hinge.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/aft_obj.cc -o src/objective/aft_obj.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/adaptive.cc -o src/objective/adaptive.o
In file included from ./include/xgboost/logging.h:11,
from src/objective/../collective/../data/../common/common.h:18,
from src/objective/../collective/../data/../common/bitfield.h:21,
from src/objective/../collective/../data/array_interface.h:18,
from src/objective/../collective/allreduce.h:11,
from src/objective/../collective/aggregator.h:13,
from src/objective/adaptive.h:11,
from src/objective/adaptive.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/objective/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/objective/adaptive.cc:65:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:198:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
198 | DEFINE_CHECK_FUNC(_GT, >)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long int; Y = long unsigned int]’:
src/objective/adaptive.cc:72:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long int’ and ‘const long unsigned int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/objective/adaptive.cc:112:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/init_estimation.cc -o src/objective/init_estimation.o
In file included from ./dmlc-core/include/dmlc/io.h:15,
from ./include/xgboost/data.h:11,
from src/objective/init_estimation.h:6,
from src/objective/init_estimation.cc:4:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/objective/init_estimation.cc:50:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/quantile_obj.cc -o src/objective/quantile_obj.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from src/objective/quantile_obj.cc:7:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/objective/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/objective/quantile_obj.cu:63:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/gbm/gbm.cc -o src/gbm/gbm.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/gbm/gbtree.cc -o src/gbm/gbtree.o
In file included from ./include/xgboost/logging.h:11,
from src/gbm/../common/timer.h:5,
from src/gbm/gbtree.h:20,
from src/gbm/gbtree.cc:8:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/gbm/gbtree_model.h:118:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LE(const X&, const Y&) [with X = int; Y = long unsigned int]’:
src/gbm/gbtree.h:232:9: required from ‘xgboost::gbm::GBTree::FeatureScore(const std::string&, xgboost::common::Span<const int>, std::vector<unsigned int>*, std::vector<float, std::allocator<float> >*) const::<lambda(auto:51)> [with auto:51 = xgboost::gbm::GBTree::FeatureScore(const std::string&, xgboost::common::Span<const int>, std::vector<unsigned int>*, std::vector<float, std::allocator<float> >*) const::<lambda(const auto:52&, xgboost::bst_node_t, xgboost::bst_feature_t)>]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/gbm/gbtree.h:245:16: required from here
245 | add_score([&](auto const&, bst_node_t, bst_feature_t split) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
246 | gain_map[split] = split_counts[split];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | });
| ~~
./dmlc-core/include/dmlc/logging.h:199:24: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘const long unsigned int’ [-Wsign-compare]
199 | DEFINE_CHECK_FUNC(_LE, <=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/gbm/../data/proxy_dmatrix.h:159:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = int; Y = long unsigned int]’:
src/gbm/gbtree.cc:186:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘const long unsigned int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/gbm/gbtree.cc:225:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/gbm/gbtree.cc:495:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = int; Y = unsigned int]’:
src/gbm/gbtree.cc:744:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘const unsigned int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/gbm/../common/../collective/../data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/gbm/../common/../collective/../data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/gbm/../common/../collective/../data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/gbm/../data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/gbm/gbtree_model.cc -o src/gbm/gbtree_model.o
In file included from ./dmlc-core/include/dmlc/io.h:15,
from src/gbm/gbtree_model.h:9,
from src/gbm/gbtree_model.cc:4:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/gbm/gbtree_model.h:118:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/gbm/gblinear.cc -o src/gbm/gblinear.o
In file included from ./dmlc-core/include/dmlc/./json.h:24,
from ./dmlc-core/include/dmlc/parameter.h:26,
from src/gbm/gblinear.cc:9:
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/gbm/gblinear.cc:52:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/././logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/gbm/gblinear_model.cc -o src/gbm/gblinear_model.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/adapter.cc -o src/data/adapter.o
In file included from ./dmlc-core/include/dmlc/./io.h:15,
from ./dmlc-core/include/dmlc/data.h:14,
from src/data/adapter.h:7,
from src/data/adapter.cc:4:
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/././logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/columnar.h:44:3: required from ‘auto xgboost::data::GetArrowNames(const xgboost::JsonObject::Map&, std::vector<T>*) [with CategoricalIndex = std::variant<enc::CatStrArrayView, xgboost::common::Span<const unsigned char, 18446744073709551615>, xgboost::common::Span<const signed char, 18446744073709551615>, xgboost::common::Span<const short unsigned int, 18446744073709551615>, xgboost::common::Span<const short int, 18446744073709551615>, xgboost::common::Span<const unsigned int, 18446744073709551615>, xgboost::common::Span<const int, 18446744073709551615>, xgboost::common::Span<const long unsigned int, 18446744073709551615>, xgboost::common::Span<const long int, 18446744073709551615>, xgboost::common::Span<const float, 18446744073709551615>, xgboost::common::Span<const double, 18446744073709551615> >; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/columnar.h:102:29: required from ‘std::size_t xgboost::data::GetArrowDictionary(const xgboost::Json&, std::vector<T>*, std::vector<xgboost::ArrayInterface<1, allow_mask> >*, std::size_t*, xgboost::bst_idx_t*) [with CategoricalIndex = std::variant<enc::CatStrArrayView, xgboost::common::Span<const unsigned char, 18446744073709551615>, xgboost::common::Span<const signed char, 18446744073709551615>, xgboost::common::Span<const short unsigned int, 18446744073709551615>, xgboost::common::Span<const short int, 18446744073709551615>, xgboost::common::Span<const unsigned int, 18446744073709551615>, xgboost::common::Span<const int, 18446744073709551615>, xgboost::common::Span<const long unsigned int, 18446744073709551615>, xgboost::common::Span<const long int, 18446744073709551615>, xgboost::common::Span<const float, 18446744073709551615>, xgboost::common::Span<const double, 18446744073709551615> >; bool allow_mask = true; std::size_t = long unsigned int; xgboost::bst_idx_t = long unsigned int]’
102 | auto names = GetArrowNames(get<Object const>(tup[0]), p_cat_columns);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/data/adapter.cc:55:31: required from here
55 | GetArrowDictionary(jcol, &this->cats_, &this->columns_, &this->n_bytes_, &n_samples);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dmlc-core/include/dmlc/././logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/././logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/array_interface.cc -o src/data/array_interface.o
In file included from ./include/xgboost/logging.h:11,
from src/data/../common/common.h:18,
from src/data/../common/bitfield.h:21,
from src/data/array_interface.h:18,
from src/data/array_interface.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/cat_container.cc -o src/data/cat_container.o
In file included from ./include/xgboost/logging.h:11,
from src/data/../common/common.h:18,
from src/data/../common/bitfield.h:21,
from src/data/../common/categorical.h:8,
from src/data/cat_container.h:14,
from src/data/cat_container.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/simple_dmatrix.cc -o src/data/simple_dmatrix.o
In file included from ./dmlc-core/include/dmlc/io.h:15,
from ./include/xgboost/data.h:11,
from src/data/simple_dmatrix.h:11,
from src/data/simple_dmatrix.cc:7:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/gradient_index.h:105:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../collective/../data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/../collective/../data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/../collective/../data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/./logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/data.cc -o src/data/data.o
In file included from ./dmlc-core/include/dmlc/io.h:15,
from ./include/xgboost/data.h:11,
from src/data/data.cc:5:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../data/../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = int; Y = long unsigned int]’:
src/data/data.cc:273:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘const long unsigned int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/data.cc:749:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/data/../data/sparse_page_source.h:416:5: required from ‘void xgboost::data::SparsePageSourceImpl<S, FormatStreamPolicy>::EndIter() [with S = xgboost::SparsePage; FormatStreamPolicy = xgboost::data::DefaultFormatStreamPolicy<xgboost::SparsePage, xgboost::data::DefaultFormatPolicy>]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/../data/sparse_page_source.h:506:20: required from here
506 | this->EndIter();
| ~~~~~~~~~~~~~^~
./dmlc-core/include/dmlc/./logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../collective/../data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/../collective/../data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/../collective/../data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/../data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/./logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/sparse_page_raw_format.cc -o src/data/sparse_page_raw_format.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from src/data/sparse_page_raw_format.cc:6:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/io.h:451:5: required from ‘std::enable_if_t<((bool)is_pod_v<T>), bool> xgboost::common::AlignedResourceReadStream::Consume(T*) [with T = long unsigned int; std::enable_if_t<((bool)is_pod_v<T>), bool> = bool]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/../common/io.h:474:25: required from ‘std::enable_if_t<((bool)is_pod_v<T>), bool> xgboost::common::AlignedResourceReadStream::Read(T*) [with T = long unsigned int; std::enable_if_t<((bool)is_pod_v<T>), bool> = bool]’
474 | return this->Consume(out);
| ~~~~~~~~~~~~~^~~~~
src/data/../common/ref_resource_view.h:116:16: required from ‘bool xgboost::common::ReadVec(AlignedResourceReadStream*, Vec*) [with Vec = std::vector<long unsigned int>]’
116 | if (!fi->Read(&n)) {
| ~~~~~~~~^~~~
src/data/sparse_page_raw_format.cc:22:25: required from ‘bool xgboost::data::SparsePageRawFormat<T>::Read(T*, xgboost::common::AlignedResourceReadStream*) [with T = xgboost::SortedCSCPage]’
22 | if (!common::ReadVec(fi, &offset_vec)) {
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
src/data/sparse_page_raw_format.cc:20:8: required from here
20 | bool Read(T* page, common::AlignedResourceReadStream* fi) override {
| ^~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/ellpack_page.cc -o src/data/ellpack_page.o
In file included from ./include/xgboost/logging.h:11,
from src/data/../common/common.h:18,
from src/data/../common/bitfield.h:21,
from src/data/../common/categorical.h:8,
from src/data/../common/hist_util.h:17,
from src/data/ellpack_page.h:9,
from src/data/ellpack_page.cc:6:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/quantile.h:175:7: required from ‘void xgboost::common::WQSummary<DType, RType>::CopyFrom(const xgboost::common::WQSummary<DType, RType>&) [with DType = float; RType = float]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/../common/quantile.h:609:28: required from ‘void xgboost::common::QuantileSketchTemplate<DType, RType, TSummary>::PushTemp() [with DType = float; RType = float; TSummary = xgboost::common::WXQSummary<float, float>]’
609 | level[l].CopyFrom(temp); break;
| ~~~~~~~~~~~~~~~~~^~~~~~
src/data/../common/quantile.h:990:21: required from here
990 | sketch->PushTemp();
| ~~~~~~~~~~~~~~~~^~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/file_iterator.cc -o src/data/file_iterator.o
In file included from ./dmlc-core/include/dmlc/./io.h:15,
from ./dmlc-core/include/dmlc/data.h:14,
from src/data/file_iterator.h:12,
from src/data/file_iterator.cc:4:
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/file_iterator.cc:22:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/././logging.h:199:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
199 | DEFINE_CHECK_FUNC(_LE, <=)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/file_iterator.cc:27:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/././logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/gradient_index.cc -o src/data/gradient_index.o
In file included from ./include/xgboost/logging.h:11,
from src/data/../common/common.h:18,
from src/data/../common/bitfield.h:21,
from src/data/../common/categorical.h:8,
from src/data/gradient_index.h:16,
from src/data/gradient_index.cc:5:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/gradient_index.h:105:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/../data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/../common/../data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/../common/../data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/../common/../data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/gradient_index_page_source.cc -o src/data/gradient_index_page_source.o
In file included from ./include/xgboost/logging.h:11,
from src/data/../common/common.h:18,
from src/data/../common/bitfield.h:21,
from src/data/../common/categorical.h:8,
from src/data/../common/hist_util.h:17,
from src/data/gradient_index_page_source.h:13,
from src/data/gradient_index_page_source.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/gradient_index.h:105:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/gradient_index_page_source.cc:26:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/data/gradient_index_page_source.cc:35:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/data/sparse_page_source.h:416:5: required from ‘void xgboost::data::SparsePageSourceImpl<S, FormatStreamPolicy>::EndIter() [with S = xgboost::SparsePage; FormatStreamPolicy = xgboost::data::DefaultFormatStreamPolicy<xgboost::SparsePage, xgboost::data::DefaultFormatPolicy>]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/sparse_page_source.h:506:20: required from here
506 | this->EndIter();
| ~~~~~~~~~~~~~^~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/gradient_index_format.cc -o src/data/gradient_index_format.o
In file included from ./include/xgboost/logging.h:11,
from src/data/../common/common.h:18,
from src/data/../common/bitfield.h:21,
from src/data/../common/categorical.h:8,
from src/data/../common/hist_util.h:17,
from src/data/gradient_index_format.h:9,
from src/data/gradient_index_format.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/gradient_index.h:105:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/validation.cc -o src/data/validation.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/sparse_page_dmatrix.cc -o src/data/sparse_page_dmatrix.o
In file included from ./include/xgboost/logging.h:11,
from src/data/../common/common.h:18,
from src/data/../common/compressed_iterator.h:13,
from src/data/ellpack_page_source.h:15,
from src/data/sparse_page_dmatrix.h:16,
from src/data/sparse_page_dmatrix.cc:8:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/sparse_page_dmatrix.cc:134:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/data/sparse_page_source.h:416:5: required from ‘void xgboost::data::SparsePageSourceImpl<S, FormatStreamPolicy>::EndIter() [with S = xgboost::SparsePage; FormatStreamPolicy = xgboost::data::DefaultFormatStreamPolicy<xgboost::SparsePage, xgboost::data::DefaultFormatPolicy>]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/sparse_page_source.h:506:20: required from here
506 | this->EndIter();
| ~~~~~~~~~~~~~^~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/sparse_page_source.cc -o src/data/sparse_page_source.o
In file included from ./include/xgboost/logging.h:11,
from src/data/../common/common.h:18,
from src/data/sparse_page_source.h:21,
from src/data/sparse_page_source.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/proxy_dmatrix.h:159:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/data/sparse_page_source.h:416:5: required from ‘void xgboost::data::SparsePageSourceImpl<S, FormatStreamPolicy>::EndIter() [with S = xgboost::SparsePage; FormatStreamPolicy = xgboost::data::DefaultFormatStreamPolicy<xgboost::SparsePage, xgboost::data::DefaultFormatPolicy>]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/sparse_page_source.h:506:20: required from here
506 | this->EndIter();
| ~~~~~~~~~~~~~^~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/extmem_quantile_dmatrix.cc -o src/data/extmem_quantile_dmatrix.o
In file included from ./include/xgboost/logging.h:11,
from src/data/../common/common.h:18,
from src/data/../common/compressed_iterator.h:13,
from src/data/ellpack_page_source.h:15,
from src/data/extmem_quantile_dmatrix.h:11,
from src/data/extmem_quantile_dmatrix.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/data/sparse_page_source.h:416:5: required from ‘void xgboost::data::SparsePageSourceImpl<S, FormatStreamPolicy>::EndIter() [with S = xgboost::SparsePage; FormatStreamPolicy = xgboost::data::DefaultFormatStreamPolicy<xgboost::SparsePage, xgboost::data::DefaultFormatPolicy>]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/sparse_page_source.h:506:20: required from here
506 | this->EndIter();
| ~~~~~~~~~~~~~^~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/quantile_dmatrix.cc -o src/data/quantile_dmatrix.o
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/string_view.h:6,
from src/data/../common/nvtx_utils.h:10,
from src/data/proxy_dmatrix.h:15,
from src/data/quantile_dmatrix.h:9,
from src/data/quantile_dmatrix.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/proxy_dmatrix.h:159:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = int; Y = long unsigned int]’:
src/data/quantile_dmatrix.cc:135:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘const long unsigned int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/batch_utils.cc -o src/data/batch_utils.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/proxy_dmatrix.cc -o src/data/proxy_dmatrix.o
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/string_view.h:6,
from src/data/../common/nvtx_utils.h:10,
from src/data/proxy_dmatrix.h:15,
from src/data/proxy_dmatrix.cc:5:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/proxy_dmatrix.h:159:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/iterative_dmatrix.cc -o src/data/iterative_dmatrix.o
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/string_view.h:6,
from src/data/../common/nvtx_utils.h:10,
from src/data/proxy_dmatrix.h:15,
from src/data/quantile_dmatrix.h:9,
from src/data/iterative_dmatrix.h:12,
from src/data/iterative_dmatrix.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/proxy_dmatrix.h:159:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/predictor/predictor.cc -o src/predictor/predictor.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from ./include/xgboost/predictor.h:8,
from src/predictor/predictor.cc:4:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/predictor/../gbm/gbtree_model.h:118:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/predictor/predictor.cc:58:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/predictor/cpu_predictor.cc -o src/predictor/cpu_predictor.o
In file included from ./include/xgboost/logging.h:11,
from src/predictor/../collective/../data/../common/common.h:18,
from src/predictor/../collective/../data/../common/bitfield.h:21,
from src/predictor/../collective/../data/array_interface.h:18,
from src/predictor/../collective/allreduce.h:11,
from src/predictor/cpu_predictor.cc:12:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/predictor/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/predictor/../common/../data/../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/predictor/../collective/../data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/predictor/../collective/../data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/predictor/../collective/../data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/predictor/../common/../data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/predictor/cpu_predictor.cc:926:5: required from ‘void xgboost::predictor::CPUPredictor::PredictContributionKernel(DataView, const xgboost::MetaInfo&, const xgboost::gbm::GBTreeModel&, const std::vector<float, std::allocator<float> >*, std::vector<std::vector<float, std::allocator<float> > >*, xgboost::predictor::{anonymous}::ThreadTmp<1>*, std::vector<float, std::allocator<float> >*, xgboost::bst_tree_t, bool, int, unsigned int) const [with DataView = xgboost::predictor::{anonymous}::GHistIndexMatrixView<xgboost::CatAccessor>; xgboost::bst_tree_t = int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/predictor/cpu_predictor.cc:1109:9: required from ‘xgboost::predictor::CPUPredictor::PredictContribution(xgboost::DMatrix*, xgboost::HostDeviceVector<float>*, const xgboost::gbm::GBTreeModel&, xgboost::bst_tree_t, const std::vector<float, std::allocator<float> >*, bool, int, unsigned int) const::<lambda(auto:85&&)>::<lambda(auto:86&&)> [with auto:86 = xgboost::predictor::{anonymous}::GHistIndexMatrixView<xgboost::CatAccessor>]’
1109 | PredictContributionKernel(batch, info, model, tree_weights, &mean_values, &feat_vecs,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
src/predictor/cpu_predictor.cc:459:11: required from ‘void xgboost::predictor::{anonymous}::LaunchConfig<Args>::ForEachBatch(Fn&&) [with Fn = xgboost::predictor::CPUPredictor::PredictContribution(xgboost::DMatrix*, xgboost::HostDeviceVector<float>*, const xgboost::gbm::GBTreeModel&, xgboost::bst_tree_t, const std::vector<float, std::allocator<float> >*, bool, int, unsigned int) const::<lambda(auto:85&&)>::<lambda(auto:86&&)>; Args = {xgboost::predictor::{anonymous}::BlockPolicy, xgboost::predictor::{anonymous}::EncAccessorPolicy}]’
459 | fn(GHistIndexMatrixView{page, acc, ft});
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/predictor/cpu_predictor.cc:1108:26: required from ‘xgboost::predictor::CPUPredictor::PredictContribution(xgboost::DMatrix*, xgboost::HostDeviceVector<float>*, const xgboost::gbm::GBTreeModel&, xgboost::bst_tree_t, const std::vector<float, std::allocator<float> >*, bool, int, unsigned int) const::<lambda(auto:85&&)> [with auto:85 = xgboost::predictor::{anonymous}::LaunchConfig<xgboost::predictor::{anonymous}::BlockPolicy, xgboost::predictor::{anonymous}::EncAccessorPolicy>]’
1108 | policy.ForEachBatch([&](auto &&batch) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
1109 | PredictContributionKernel(batch, info, model, tree_weights, &mean_values, &feat_vecs,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1110 | &contribs, ntree_limit, approximate, condition,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1111 | condition_feature);
| ~~~~~~~~~~~~~~~~~~~
1112 | });
| ~~
src/predictor/cpu_predictor.cc:485:9: required from ‘void xgboost::predictor::{anonymous}::LaunchPredict(const xgboost::Context*, xgboost::DMatrix*, const xgboost::gbm::GBTreeModel&, Fn&&, NeedRecode&&) [with Fn = xgboost::predictor::CPUPredictor::PredictContribution(xgboost::DMatrix*, xgboost::HostDeviceVector<float>*, const xgboost::gbm::GBTreeModel&, xgboost::bst_tree_t, const std::vector<float, std::allocator<float> >*, bool, int, unsigned int) const::<lambda(auto:85&&)>&; NeedRecode = LaunchPredict<xgboost::predictor::CPUPredictor::PredictContribution(xgboost::DMatrix*, xgboost::HostDeviceVector<float>*, const xgboost::gbm::GBTreeModel&, xgboost::bst_tree_t, const std::vector<float, std::allocator<float> >*, bool, int, unsigned int) const::<lambda(auto:85&&)> >(const xgboost::Context*, xgboost::DMatrix*, const xgboost::gbm::GBTreeModel&, xgboost::predictor::CPUPredictor::PredictContribution(xgboost::DMatrix*, xgboost::HostDeviceVector<float>*, const xgboost::gbm::GBTreeModel&, xgboost::bst_tree_t, const std::vector<float, std::allocator<float> >*, bool, int, unsigned int) const::<lambda(auto:85&&)>&&)::<lambda(const xgboost::DMatrix*)>]’
485 | fn(Policy{ctx, p_fmat, model});
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/predictor/cpu_predictor.cc:503:16: required from ‘void xgboost::predictor::{anonymous}::LaunchPredict(const xgboost::Context*, xgboost::DMatrix*, const xgboost::gbm::GBTreeModel&, Fn&&) [with Fn = xgboost::predictor::CPUPredictor::PredictContribution(xgboost::DMatrix*, xgboost::HostDeviceVector<float>*, const xgboost::gbm::GBTreeModel&, xgboost::bst_tree_t, const std::vector<float, std::allocator<float> >*, bool, int, unsigned int) const::<lambda(auto:85&&)>]’
503 | LaunchPredict(ctx, p_fmat, model, fn,
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
504 | [](DMatrix const *p_fmat) { return p_fmat->Cats()->NeedRecode(); });
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/predictor/cpu_predictor.cc:1107:18: required from here
1107 | LaunchPredict(this->ctx_, p_fmat, model, [&](auto &&policy) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1108 | policy.ForEachBatch([&](auto &&batch) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1109 | PredictContributionKernel(batch, info, model, tree_weights, &mean_values, &feat_vecs,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1110 | &contribs, ntree_limit, approximate, condition,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1111 | condition_feature);
| ~~~~~~~~~~~~~~~~~~~
1112 | });
| ~~~
1113 | });
| ~~
./dmlc-core/include/dmlc/logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/predictor/treeshap.cc -o src/predictor/treeshap.o
In file included from ./dmlc-core/include/dmlc/io.h:15,
from ./include/xgboost/data.h:11,
from ./include/xgboost/tree_model.h:11,
from src/predictor/treeshap.h:8,
from src/predictor/treeshap.cc:4:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/predictor/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/predictor/../data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/predictor/../data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/predictor/../data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/predictor/../data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/./logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/constraints.cc -o src/tree/constraints.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/param.cc -o src/tree/param.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/fit_stump.cc -o src/tree/fit_stump.o
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/context.h:9,
from src/tree/fit_stump.h:13,
from src/tree/fit_stump.cc:6:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/tree_model.cc -o src/tree/tree_model.o
In file included from ./dmlc-core/include/dmlc/io.h:15,
from ./include/xgboost/data.h:11,
from ./include/xgboost/tree_model.h:11,
from src/tree/tree_model.cc:6:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GT(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/tree/tree_model.cc:899:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:198:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
198 | DEFINE_CHECK_FUNC(_GT, >)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/tree_model.cc:997:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/tree_model.cc:1021:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/tree/tree_model.cc:53:3: required from ‘std::string xgboost::{anonymous}::ToStr(xgboost::linalg::VectorView<Float>, xgboost::bst_target_t) [with Float = const float; std::string = std::__cxx11::basic_string<char>; xgboost::linalg::VectorView<Float> = xgboost::linalg::TensorView<const float, 1>; xgboost::bst_target_t = unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/tree/tree_model.cc:733:68: required from here
733 | {"{leaf-value}", ToStr(value, kLimit)},
| ~~~~~^~~~~~~~~~~~~~~
./dmlc-core/include/dmlc/./logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/tree_updater.cc -o src/tree/tree_updater.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/multi_target_tree_model.cc -o src/tree/multi_target_tree_model.o
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/context.h:9,
from ./include/xgboost/multi_target_tree_model.h:10,
from src/tree/multi_target_tree_model.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GT(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/tree/multi_target_tree_model.cc:30:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:198:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
198 | DEFINE_CHECK_FUNC(_GT, >)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/multi_target_tree_model.cc:68:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/multi_target_tree_model.cc:81:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/tree/multi_target_tree_model.cc:165:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = int; Y = long unsigned int]’:
src/tree/multi_target_tree_model.cc:239:7: required from ‘xgboost::MultiTargetTree::SaveModel(xgboost::Json*) const::<lambda(auto:6*)> [with auto:6 = xgboost::JsonTypedArray<long int, xgboost::Value::ValueKind::kI64Array>]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/tree/multi_target_tree_model.cc:263:14: required from here
263 | save_tree(&indices_64);
| ~~~~~~~~~^~~~~~~~~~~~~
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const int’ and ‘const long unsigned int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/updater_approx.cc -o src/tree/updater_approx.o
In file included from ./include/xgboost/logging.h:11,
from src/tree/../collective/../data/../common/common.h:18,
from src/tree/../collective/../data/../common/bitfield.h:21,
from src/tree/../collective/../data/array_interface.h:18,
from src/tree/../collective/allreduce.h:11,
from src/tree/../collective/aggregator.h:13,
from src/tree/updater_approx.cc:13:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/tree/hist/histogram.h:338:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/../collective/../data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/tree/../collective/../data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/tree/../collective/../data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/tree/../common/../data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/updater_colmaker.cc -o src/tree/updater_colmaker.o
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/context.h:9,
from src/tree/../common/error_msg.h:15,
from src/tree/updater_colmaker.cc:11:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/../common/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/updater_prune.cc -o src/tree/updater_prune.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/updater_quantile_hist.cc -o src/tree/updater_quantile_hist.o
In file included from ./include/xgboost/logging.h:11,
from src/tree/../collective/../data/../common/common.h:18,
from src/tree/../collective/../data/../common/bitfield.h:21,
from src/tree/../collective/../data/array_interface.h:18,
from src/tree/../collective/allreduce.h:11,
from src/tree/../collective/aggregator.h:13,
from src/tree/updater_quantile_hist.cc:15:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/tree/hist/histogram.h:338:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/../collective/../data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/tree/../collective/../data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/tree/../collective/../data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/tree/../common/../data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/updater_refresh.cc -o src/tree/updater_refresh.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from ./include/xgboost/tree_updater.h:11,
from src/tree/updater_refresh.cc:7:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/../collective/../data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/tree/../collective/../data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/tree/../collective/../data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/tree/../predictor/../data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/./logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/updater_sync.cc -o src/tree/updater_sync.o
In file included from ./include/xgboost/logging.h:11,
from src/tree/../collective/../common/timer.h:5,
from src/tree/../collective/loop.h:17,
from src/tree/../collective/comm.h:14,
from src/tree/../collective/broadcast.h:8,
from src/tree/updater_sync.cc:9:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/hist/hist_param.cc -o src/tree/hist/hist_param.o
In file included from ./dmlc-core/include/dmlc/./json.h:24,
from ./dmlc-core/include/dmlc/parameter.h:26,
from ./include/xgboost/parameter.h:11,
from src/tree/hist/hist_param.h:9,
from src/tree/hist/hist_param.cc:4:
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/hist/../../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/././logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/hist/histogram.cc -o src/tree/hist/histogram.o
In file included from ./include/xgboost/logging.h:11,
from src/tree/hist/../../collective/../data/../common/common.h:18,
from src/tree/hist/../../collective/../data/../common/bitfield.h:21,
from src/tree/hist/../../collective/../data/array_interface.h:18,
from src/tree/hist/../../collective/allreduce.h:11,
from src/tree/hist/histogram.h:13,
from src/tree/hist/histogram.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/hist/../../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/hist/../../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/tree/hist/histogram.h:338:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/linear/linear_updater.cc -o src/linear/linear_updater.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/linear/updater_coordinate.cc -o src/linear/updater_coordinate.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from ./include/xgboost/linear_updater.h:6,
from src/linear/updater_coordinate.cc:6:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/linear/../common/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/linear/updater_shotgun.cc -o src/linear/updater_shotgun.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from ./include/xgboost/linear_updater.h:6,
from src/linear/updater_shotgun.cc:6:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/linear/../common/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/learner.cc -o src/learner.o
In file included from ./dmlc-core/include/dmlc/io.h:15,
from ./include/xgboost/learner.h:11,
from src/learner.cc:7:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/learner.cc:207:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/learner.cc:422:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/learner.cc:814:5: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/context.cc -o src/context.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/logging.cc -o src/logging.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/global_config.cc -o src/global_config.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/collective/result.cc -o src/collective/result.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/collective/allgather.cc -o src/collective/allgather.o
In file included from ./include/xgboost/logging.h:11,
from src/collective/../common/timer.h:5,
from src/collective/loop.h:17,
from src/collective/comm.h:14,
from src/collective/allgather.h:14,
from src/collective/allgather.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/allgather.cc:36:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/collective/allreduce.cc -o src/collective/allreduce.o
In file included from ./include/xgboost/logging.h:11,
from src/collective/../data/../common/common.h:18,
from src/collective/../data/../common/bitfield.h:21,
from src/collective/../data/array_interface.h:18,
from src/collective/allreduce.h:11,
from src/collective/allreduce.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/collective/broadcast.cc -o src/collective/broadcast.o
In file included from ./include/xgboost/logging.h:11,
from src/collective/../common/timer.h:5,
from src/collective/loop.h:17,
from src/collective/comm.h:14,
from src/collective/broadcast.h:8,
from src/collective/broadcast.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/collective/broadcast.cc:31:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/collective/comm.cc -o src/collective/comm.o
In file included from ./include/xgboost/logging.h:11,
from src/collective/../common/timer.h:5,
from src/collective/loop.h:17,
from src/collective/comm.h:14,
from src/collective/comm.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/collective/comm_group.cc -o src/collective/comm_group.o
In file included from ./include/xgboost/logging.h:11,
from src/collective/../data/../common/common.h:18,
from src/collective/../data/../common/bitfield.h:21,
from src/collective/../data/array_interface.h:18,
from src/collective/coll.h:8,
from src/collective/comm_group.h:9,
from src/collective/comm_group.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/collective/coll.cc -o src/collective/coll.o
In file included from ./include/xgboost/logging.h:11,
from src/collective/../data/../common/common.h:18,
from src/collective/../data/../common/bitfield.h:21,
from src/collective/../data/array_interface.h:18,
from src/collective/coll.h:8,
from src/collective/coll.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/collective/tracker.cc -o src/collective/tracker.o
In file included from src/collective/tracker.cc:30:
./include/xgboost/collective/poll_utils.h:46:14: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
46 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
| ^
./include/xgboost/collective/poll_utils.h:230:14: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
230 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
| ^
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/json.h:8,
from src/collective/../common/json_utils.h:13,
from src/collective/tracker.cc:25:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/tracker.cc:182:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/tracker.cc:188:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:199:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
199 | DEFINE_CHECK_FUNC(_LE, <=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/tracker.cc:207:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/collective/in_memory_handler.cc -o src/collective/in_memory_handler.o
In file included from ./include/xgboost/logging.h:11,
from src/collective/../data/../common/common.h:18,
from src/collective/../data/../common/bitfield.h:21,
from src/collective/../data/array_interface.h:18,
from src/collective/in_memory_handler.h:9,
from src/collective/in_memory_handler.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/collective/loop.cc -o src/collective/loop.o
In file included from src/collective/loop.cc:18:
./include/xgboost/collective/poll_utils.h:46:14: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
46 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
| ^
./include/xgboost/collective/poll_utils.h:230:14: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
230 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
| ^
In file included from ./include/xgboost/logging.h:11,
from src/collective/../common/timer.h:5,
from src/collective/loop.h:17,
from src/collective/loop.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/loop.cc:264:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/collective/socket.cc -o src/collective/socket.o
In file included from src/collective/socket.cc:14:
./include/xgboost/collective/poll_utils.h:46:14: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
46 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
| ^
./include/xgboost/collective/poll_utils.h:230:14: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
230 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
| ^
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/collective/socket.h:54,
from src/collective/socket.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/socket.cc:70:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/charconv.cc -o src/common/charconv.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/column_matrix.cc -o src/common/column_matrix.o
In file included from ./dmlc-core/include/dmlc/./io.h:15,
from ./dmlc-core/include/dmlc/data.h:14,
from src/common/../data/adapter.h:7,
from src/common/column_matrix.h:18,
from src/common/column_matrix.cc:5:
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/././logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../data/../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/././logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/common/../data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/common/../data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/common/../data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/././logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/common.cc -o src/common/common.o
In file included from ./include/xgboost/logging.h:11,
from src/common/common.h:18,
from src/common/common.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/./../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/cuda_rt_utils.cc -o src/common/cuda_rt_utils.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/error_msg.cc -o src/common/error_msg.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/hist_util.cc -o src/common/hist_util.o
In file included from ./include/xgboost/logging.h:11,
from src/common/common.h:18,
from src/common/bitfield.h:21,
from src/common/categorical.h:8,
from src/common/hist_util.h:17,
from src/common/hist_util.cc:5:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/common/../data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/common/../data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/common/../data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/hist_util.cc:240:3: required from ‘void xgboost::common::RowsWiseBuildHistKernel(Span<const xgboost::detail::GradientPairInternal<float> >, Span<const long unsigned int>, const xgboost::GHistIndexMatrix&, GHistRow) [with bool do_prefetch = false; BuildingManager = GHistBuildingManager<true, false, false, unsigned char>; GHistRow = Span<xgboost::detail::GradientPairInternal<double> >]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/common/hist_util.cc:354:54: required from ‘void xgboost::common::BuildHistDispatch(Span<const xgboost::detail::GradientPairInternal<float> >, Span<const long unsigned int>, const xgboost::GHistIndexMatrix&, GHistRow) [with BuildingManager = GHistBuildingManager<true, false, false, unsigned char>; GHistRow = Span<xgboost::detail::GradientPairInternal<double> >]’
354 | RowsWiseBuildHistKernel<false, BuildingManager>(gpair, row_indices, gmat, hist);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/hist_util.cc:384:9: required from ‘xgboost::common::BuildHist<true>(Span<const xgboost::detail::GradientPairInternal<float> >, Span<const long unsigned int>, const xgboost::GHistIndexMatrix&, GHistRow, bool)::<lambda(auto:61)> [with auto:61 = xgboost::common::GHistBuildingManager<true, false, false, unsigned char>]’
384 | BuildHistDispatch<BuildingManager>(gpair, row_indices, gmat, hist);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/common/hist_util.cc:206:9: required from ‘static void xgboost::common::GHistBuildingManager<_any_missing, _first_page, _read_by_column, BinIdxTypeName>::DispatchAndExecute(const xgboost::common::RuntimeFlags&, Fn&&) [with Fn = xgboost::common::BuildHist<true>(Span<const xgboost::detail::GradientPairInternal<float> >, Span<const long unsigned int>, const xgboost::GHistIndexMatrix&, GHistRow, bool)::<lambda(auto:61)>; bool _any_missing = true; bool _first_page = false; bool _read_by_column = false; BinIdxTypeName = unsigned char]’
206 | fn(Type());
| ~~^~~~~~~~
src/common/hist_util.cc:381:56: required from ‘void xgboost::common::BuildHist(Span<const xgboost::detail::GradientPairInternal<float> >, Span<const long unsigned int>, const xgboost::GHistIndexMatrix&, GHistRow, bool) [with bool any_missing = true; GHistRow = Span<xgboost::detail::GradientPairInternal<double> >]’
381 | GHistBuildingManager<any_missing>::DispatchAndExecute(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
382 | {first_page, read_by_column || force_read_by_column, bin_type_size}, [&](auto t) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
383 | using BuildingManager = decltype(t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
384 | BuildHistDispatch<BuildingManager>(gpair, row_indices, gmat, hist);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
385 | });
| ~~
src/common/hist_util.cc:390:56: required from here
390 | bool force_read_by_column);
| ^
./dmlc-core/include/dmlc/logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/host_device_vector.cc -o src/common/host_device_vector.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/io.cc -o src/common/io.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/json.cc -o src/common/json.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/linalg_op.cc -o src/common/linalg_op.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/numeric.cc -o src/common/numeric.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/optional_weight.cc -o src/common/optional_weight.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/pseudo_huber.cc -o src/common/pseudo_huber.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/quantile.cc -o src/common/quantile.o
In file included from ./dmlc-core/include/dmlc/io.h:15,
from ./include/xgboost/data.h:11,
from src/common/quantile.h:10,
from src/common/quantile.cc:4:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/quantile.cc:30:3: required from ‘xgboost::common::SketchContainerImpl<WQSketch>::SketchContainerImpl(const xgboost::Context*, std::vector<long unsigned int>, xgboost::bst_bin_t, xgboost::common::Span<const xgboost::FeatureType, 18446744073709551615>, bool) [with WQSketch = xgboost::common::WXQuantileSketch<float, float>; xgboost::bst_bin_t = int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/common/quantile.h:1002:71: required from here
1002 | : SketchContainerImpl{ctx, columns_size, max_bins, ft, use_group} {
| ^
./dmlc-core/include/dmlc/./logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../collective/../data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/common/../collective/../data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/common/../collective/../data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/common/../data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/./logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/random.cc -o src/common/random.o
In file included from ./include/xgboost/logging.h:11,
from src/common/random.h:10,
from src/common/random.cc:4:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/random.cc:33:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:198:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
198 | DEFINE_CHECK_FUNC(_GT, >)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/stats.cc -o src/common/stats.o
In file included from ./dmlc-core/include/dmlc/common.h:15,
from src/common/numeric.h:7,
from src/common/algorithm.h:12,
from src/common/stats.h:11,
from src/common/stats.cc:4:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/stats.cc:40:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:202:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/survival_util.cc -o src/common/survival_util.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/threading_utils.cc -o src/common/threading_utils.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/ranking_utils.cc -o src/common/ranking_utils.o
In file included from ./dmlc-core/include/dmlc/./json.h:24,
from ./dmlc-core/include/dmlc/parameter.h:26,
from src/common/ranking_utils.h:14,
from src/common/ranking_utils.cc:4:
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = unsigned int; Y = int]’:
src/common/ranking_utils.h:221:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/././logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/param_array.cc -o src/common/param_array.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/quantile_loss_utils.cc -o src/common/quantile_loss_utils.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/timer.cc -o src/common/timer.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/version.cc -o src/common/version.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/c_api/c_api.cc -o src/c_api/c_api.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from ./include/xgboost/predictor.h:8,
from src/c_api/../common/api_entry.h:10,
from src/c_api/c_api.cc:18:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/c_api/../common/quantile.h:699:3: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:200:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/c_api/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/c_api/../data/array_interface.h:245:7: required from ‘static void xgboost::ArrayInterfaceHandler::ExtractShape(const xgboost::JsonObject::Map&, size_t (&)[D]) [with int D = 2; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >; size_t = long unsigned int]’
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/c_api/../data/array_interface.h:411:40: required from ‘void xgboost::ArrayInterface<D, allow_mask>::Initialize(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
411 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/c_api/../data/array_interface.h:450:61: required from ‘xgboost::ArrayInterface<D, allow_mask>::ArrayInterface(const xgboost::JsonObject::Map&) [with int D = 2; bool allow_mask = false; xgboost::JsonObject::Map = std::map<std::__cxx11::basic_string<char>, xgboost::Json, std::less<void> >]’
450 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/c_api/../data/adapter.h:204:62: required from here
204 | array_interface_ = ArrayInterface<2>(get<Object const>(j));
| ^
./dmlc-core/include/dmlc/./logging.h:197:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/c_api/c_api_error.cc -o src/c_api/c_api_error.o
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/json.h:8,
from src/c_api/./../common/json_utils.h:13,
from src/c_api/./c_api_utils.h:17,
from src/c_api/./c_api_error.h:11,
from src/c_api/c_api_error.cc:6:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/c_api/../collective/../data/array_interface.h:172:7: required from here
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I. -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1 -DXGBOOST_MM_PREFETCH_PRESENT=1 -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c amalgamation/dmlc-minimum0.cc -o amalgamation/dmlc-minimum0.o
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/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/lambdarank_obj.o ./src/objective/hinge.o ./src/objective/aft_obj.o ./src/objective/adaptive.o ./src/objective/init_estimation.o ./src/objective/quantile_obj.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/adapter.o ./src/data/array_interface.o ./src/data/cat_container.o ./src/data/simple_dmatrix.o ./src/data/data.o ./src/data/sparse_page_raw_format.o ./src/data/ellpack_page.o ./src/data/file_iterator.o ./src/data/gradient_index.o ./src/data/gradient_index_page_source.o ./src/data/gradient_index_format.o ./src/data/validation.o ./src/data/sparse_page_dmatrix.o ./src/data/sparse_page_source.o ./src/data/extmem_quantile_dmatrix.o ./src/data/quantile_dmatrix.o ./src/data/batch_utils.o ./src/data/proxy_dmatrix.o ./src/data/iterative_dmatrix.o ./src/predictor/predictor.o ./src/predictor/cpu_predictor.o ./src/predictor/treeshap.o ./src/tree/constraints.o ./src/tree/param.o ./src/tree/fit_stump.o ./src/tree/tree_model.o ./src/tree/tree_updater.o ./src/tree/multi_target_tree_model.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/tree/hist/hist_param.o ./src/tree/hist/histogram.o ./src/linear/linear_updater.o ./src/linear/updater_coordinate.o ./src/linear/updater_shotgun.o ./src/learner.o ./src/context.o ./src/logging.o ./src/global_config.o ./src/collective/result.o ./src/collective/allgather.o ./src/collective/allreduce.o ./src/collective/broadcast.o ./src/collective/comm.o ./src/collective/comm_group.o ./src/collective/coll.o ./src/collective/tracker.o ./src/collective/in_memory_handler.o ./src/collective/loop.o ./src/collective/socket.o ./src/common/charconv.o ./src/common/column_matrix.o ./src/common/common.o ./src/common/cuda_rt_utils.o ./src/common/error_msg.o ./src/common/hist_util.o ./src/common/host_device_vector.o ./src/common/io.o ./src/common/json.o ./src/common/linalg_op.o ./src/common/numeric.o ./src/common/optional_weight.o ./src/common/pseudo_huber.o ./src/common/quantile.o ./src/common/random.o ./src/common/stats.o ./src/common/survival_util.o ./src/common/threading_utils.o ./src/common/ranking_utils.o ./src/common/param_array.o ./src/common/quantile_loss_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 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpA4Gtv1/R.INSTALL28a9d222a7d31a/xgboost/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpA4Gtv1/R.INSTALL28a9d222a7d31a/xgboost/src'
Makevars:22: -DXGBOOST_BUILTIN_PREFETCH_PRESENT=1
Makevars:22: -DXGBOOST_MM_PREFETCH_PRESENT=1
Makevars:22: -DXGBOOST_STRICT_R_MODE=1
Makevars:22: -DDMLC_LOG_BEFORE_THROW=0
Makevars:22: -DDMLC_ENABLE_STD_THREAD=1
Makevars:22: -DDMLC_DISABLE_STDIN=1
Makevars:22: -DDMLC_LOG_CUSTOMIZE=1
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpA4Gtv1/R.INSTALL28a9d222a7d31a/xgboost/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-xgboost/00new/xgboost/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘xgboost’
finding HTML links ... done
a-compatibility-note-for-saveRDS-save html
agaricus.test html
agaricus.train html
coef.xgb.Booster html
dim.xgb.DMatrix html
dimnames.xgb.DMatrix html
getinfo html
predict.xgb.Booster html
predict.xgboost html
print.xgb.Booster html
print.xgb.DMatrix html
print.xgb.cv html
print.xgboost html
variable.names.xgb.Booster html
xgb.Callback html
xgb.DMatrix html
xgb.DMatrix.hasinfo html
xgb.DMatrix.save html
xgb.DataBatch html
xgb.DataIter html
xgb.ExtMemDMatrix html
xgb.QuantileDMatrix.from_iterator html
xgb.attr html
xgb.cb.cv.predict html
xgb.cb.early.stop html
xgb.cb.evaluation.log html
xgb.cb.gblinear.history html
xgb.cb.print.evaluation html
xgb.cb.reset.parameters html
xgb.cb.save.model html
xgb.config html
xgb.copy.Booster html
xgb.create.features html
xgb.cv html
xgb.dump html
xgb.gblinear.history html
xgb.get.DMatrix.data html
xgb.get.DMatrix.num.non.missing html
xgb.get.DMatrix.qcut html
xgb.get.num.boosted.rounds html
xgb.importance html
xgb.is.same.Booster html
xgb.load html
xgb.load.raw html
xgb.model.dt.tree html
xgb.model.parameters html
xgb.params html
xgb.plot.deepness html
xgb.plot.importance html
xgb.plot.multi.trees html
xgb.plot.shap html
xgb.plot.shap.summary html
xgb.plot.tree html
xgb.save html
xgb.save.raw html
xgb.slice.Booster html
xgb.slice.DMatrix html
xgb.train html
xgbConfig html
xgboost-options html
xgboost html
** 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)