* installing *source* package 'xgboost' ...
** this is package 'xgboost' version '1.7.11.1'
** package 'xgboost' successfully unpacked and MD5 sums checked
** using staged installation
** libs
Makevars.win:17: -DXGBOOST_STRICT_R_MODE=1
Makevars.win:17: -DDMLC_LOG_BEFORE_THROW=0
Makevars.win:17: -DDMLC_ENABLE_STD_THREAD=0
Makevars.win:17: -DDMLC_DISABLE_STDIN=1
Makevars.win:17: -DDMLC_LOG_CUSTOMIZE=1
Makevars.win:17: -DXGBOOST_CUSTOMIZE_LOGGER=1
Makevars.win:17: -DRABIT_CUSTOMIZE_MSG_
Makevars.win:17: -DDMLC_CXX11_THREAD_LOCAL=0
using C compiler: 'gcc.exe (GCC) 14.2.0'
using C++ compiler: 'g++.exe (GCC) 14.2.0'
using C++17
make[1]: Entering directory '/d/temp/2025_10_14_01_50_00_4128/Rtmp0Q0fsd/R.INSTALL44c84c562b9/xgboost/src'
Makevars.win:17: -DXGBOOST_STRICT_R_MODE=1
Makevars.win:17: -DDMLC_LOG_BEFORE_THROW=0
Makevars.win:17: -DDMLC_ENABLE_STD_THREAD=0
Makevars.win:17: -DDMLC_DISABLE_STDIN=1
Makevars.win:17: -DDMLC_LOG_CUSTOMIZE=1
Makevars.win:17: -DXGBOOST_CUSTOMIZE_LOGGER=1
Makevars.win:17: -DRABIT_CUSTOMIZE_MSG_
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c xgboost_R.cc -o xgboost_R.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from xgboost_R.cc:7:
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:86:7: note: by 'xgboost::JsonString& xgboost::JsonString::operator=(const xgboost::JsonString&)'
86 | class JsonString : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:112:7: note: by 'xgboost::JsonArray& xgboost::JsonArray::operator=(const xgboost::JsonArray&)'
112 | class JsonArray : public Value {
| ^~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:189:7: note: by 'xgboost::JsonObject& xgboost::JsonObject::operator=(const xgboost::JsonObject&)'
189 | class JsonObject : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:218:7: note: by 'xgboost::JsonNumber& xgboost::JsonNumber::operator=(const xgboost::JsonNumber&)'
218 | class JsonNumber : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:252:7: note: by 'xgboost::JsonInteger& xgboost::JsonInteger::operator=(const xgboost::JsonInteger&)'
252 | class JsonInteger : public Value {
| ^~~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:295:7: note: by 'xgboost::JsonNull& xgboost::JsonNull::operator=(const xgboost::JsonNull&)'
295 | class JsonNull : public Value {
| ^~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:311:7: note: by 'xgboost::JsonBoolean& xgboost::JsonBoolean::operator=(const xgboost::JsonBoolean&)'
311 | class JsonBoolean : public Value {
| ^~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c xgboost_custom.cc -o xgboost_custom.o
gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -std=gnu2x -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/metric/metric.cc -o src/metric/metric.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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_NE(const X&, const Y&) [with X = long long unsigned int; Y = int]':
src/metric/elementwise_metric.cu:349:7: required from 'double xgboost::metric::EvalEWiseBase<Policy>::Eval(const xgboost::HostDeviceVector<float>&, const xgboost::MetaInfo&) [with Policy = xgboost::metric::EvalTweedieNLogLik]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/metric/elementwise_metric.cu:344:10: required from here
344 | double Eval(HostDeviceVector<bst_float> const& preds, const MetaInfo& info) override {
| ^~~~
./dmlc-core/include/dmlc/./logging.h:202:24: warning: comparison of integer expressions of different signedness: 'const long 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 long unsigned int; Y = int]':
src/metric/multiclass_metric.cu:171:7: required from 'double xgboost::metric::EvalMClassBase<Derived>::Eval(const xgboost::HostDeviceVector<float>&, const xgboost::MetaInfo&) [with Derived = xgboost::metric::EvalMultiLogLoss]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/metric/multiclass_metric.cu:169:10: required from here
169 | double Eval(const HostDeviceVector<float> &preds, const MetaInfo &info) override {
| ^~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: 'const long 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/metric/rank_metric.cc -o src/metric/rank_metric.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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.h:5,
from src/metric/../collective/communicator-inl.h:7,
from src/metric/auc.h:13,
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_NE(const X&, const Y&) [with X = long long unsigned int; Y = int]':
src/metric/auc.cc:357: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 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 long unsigned int; Y = int]':
src/metric/auc.cc:215:3: required from 'std::pair<double, unsigned int> xgboost::metric::RankingAUC(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:345:27: required from here
345 | RankingAUC<true>(predts.ConstHostVector(), info, n_threads);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dmlc-core/include/dmlc/logging.h:200:24: warning: comparison of integer expressions of different signedness: 'const long 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 long unsigned int; Y = int]':
src/metric/auc.cc:84:5: required from 'double xgboost::metric::MultiClassOVR(xgboost::common::Span<const float>, const xgboost::MetaInfo&, size_t, int32_t, BinaryAUC&&) [with BinaryAUC = std::tuple<double, double, double> (&)(xgboost::common::Span<const float>, xgboost::linalg::TensorView<const float, 1>, xgboost::common::OptionalWeights); size_t = long long unsigned int; int32_t = int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/metric/auc.cc:359:26: required from here
359 | auc = MultiClassOVR(predts.ConstHostVector(), info, n_classes, n_threads,
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
360 | BinaryROCAUC);
| ~~~~~~~~~~~~~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: 'const long 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/metric/survival_metric.cc -o src/metric/survival_metric.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/objective/objective.cc -o src/objective/objective.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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_NE(const X&, const Y&) [with X = long long unsigned int; Y = int]':
src/objective/../common/stats.h:123: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 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; \
| ^~
In file included from src/objective/regression_obj.cu:17,
from src/objective/regression_obj.cc:17:
src/objective/../common/linalg_op.h: In instantiation of 'void xgboost::linalg::ElementWiseKernelHost(TensorView<T, D>, int32_t, Fn&&) [with T = const float; int D = 2; Fn = xgboost::obj::PseudoHuberRegression::GetGradient(const xgboost::HostDeviceVector<float>&, const xgboost::MetaInfo&, int, xgboost::HostDeviceVector<xgboost::detail::GradientPairInternal<float> >*)::<lambda(size_t, float)>&; int32_t = int]':
src/objective/../common/linalg_op.h:60:24: required from 'void xgboost::linalg::ElementWiseKernel(const xgboost::GenericParameter*, TensorView<T, D>, Fn&&) [with T = const float; int D = 2; Fn = xgboost::obj::PseudoHuberRegression::GetGradient(const xgboost::HostDeviceVector<float>&, const xgboost::MetaInfo&, int, xgboost::HostDeviceVector<xgboost::detail::GradientPairInternal<float> >*)::<lambda(size_t, float)>]'
60 | ElementWiseKernelHost(t, ctx->Threads(), fn);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
src/objective/regression_obj.cu:245:30: required from here
245 | linalg::ElementWiseKernel(ctx_, labels, [=] XGBOOST_DEVICE(size_t i, float const y) mutable {
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
246 | auto sample_id = std::get<0>(linalg::UnravelIndex(i, labels.Shape()));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
247 | const float z = predt(i) - y;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
248 | const float scale_sqrt = std::sqrt(1 + common::Sqr(z) / common::Sqr(slope));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
249 | float grad = z / scale_sqrt;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
250 |
|
251 | auto scale = common::Sqr(slope) + common::Sqr(z);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
252 | float hess = common::Sqr(slope) / (scale * scale_sqrt);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
253 |
|
254 | auto w = weight[sample_id];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
255 | gpair(i) = {grad * w, hess * w};
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
256 | });
| ~~
src/objective/../common/linalg_op.h:38:13: warning: possibly dangling reference to a temporary [-Wdangling-reference]
38 | auto& v = detail::Apply(t, linalg::UnravelIndex(i, t.Shape()));
| ^
src/objective/../common/linalg_op.h:38:30: note: the temporary was destroyed at the end of the full expression 'xgboost::linalg::detail::Apply<xgboost::linalg::TensorView<const float, 2>&, std::tuple<long long unsigned int, long long unsigned int> >((* & t), xgboost::linalg::UnravelIndex(size_t, xgboost::common::Span<const long long unsigned int, D>) [with long long unsigned int D = 2; size_t = long long unsigned int](xgboost::linalg::TensorView<T, kDim>::Shape() const [with T = const float; int kDim = 2]()))'
38 | auto& v = detail::Apply(t, linalg::UnravelIndex(i, t.Shape()));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/objective/../common/linalg_op.h: In instantiation of 'void xgboost::linalg::ElementWiseKernelHost(TensorView<T, D>, int32_t, Fn&&) [with T = const float; int D = 2; Fn = xgboost::obj::MeanAbsoluteError::GetGradient(const xgboost::HostDeviceVector<float>&, const xgboost::MetaInfo&, int, xgboost::HostDeviceVector<xgboost::detail::GradientPairInternal<float> >*)::<lambda(size_t, float)>&; int32_t = int]':
src/objective/../common/linalg_op.h:60:24: required from 'void xgboost::linalg::ElementWiseKernel(const xgboost::GenericParameter*, TensorView<T, D>, Fn&&) [with T = const float; int D = 2; Fn = xgboost::obj::MeanAbsoluteError::GetGradient(const xgboost::HostDeviceVector<float>&, const xgboost::MetaInfo&, int, xgboost::HostDeviceVector<xgboost::detail::GradientPairInternal<float> >*)::<lambda(size_t, float)>]'
60 | ElementWiseKernelHost(t, ctx->Threads(), fn);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
src/objective/regression_obj.cu:696:30: required from here
696 | linalg::ElementWiseKernel(ctx_, labels, [=] XGBOOST_DEVICE(size_t i, float const y) mutable {
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
697 | auto sign = [](auto x) {
| ~~~~~~~~~~~~~~~~~~~~~~~~
698 | return (x > static_cast<decltype(x)>(0)) - (x < static_cast<decltype(x)>(0));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
699 | };
| ~~
700 | auto sample_id = std::get<0>(linalg::UnravelIndex(i, labels.Shape()));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
701 | auto grad = sign(predt(i) - y) * weight[i];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
702 | auto hess = weight[sample_id];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
703 | gpair(i) = GradientPair{grad, hess};
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
704 | });
| ~~
src/objective/../common/linalg_op.h:38:13: warning: possibly dangling reference to a temporary [-Wdangling-reference]
38 | auto& v = detail::Apply(t, linalg::UnravelIndex(i, t.Shape()));
| ^
src/objective/../common/linalg_op.h:38:30: note: the temporary was destroyed at the end of the full expression 'xgboost::linalg::detail::Apply<xgboost::linalg::TensorView<const float, 2>&, std::tuple<long long unsigned int, long long unsigned int> >((* & t), xgboost::linalg::UnravelIndex(size_t, xgboost::common::Span<const long long unsigned int, D>) [with long long unsigned int D = 2; size_t = long long unsigned int](xgboost::linalg::TensorView<T, kDim>::Shape() const [with T = const float; int kDim = 2]()))'
38 | auto& v = detail::Apply(t, linalg::UnravelIndex(i, t.Shape()));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 long unsigned int; Y = long long int]':
src/objective/multiclass_obj.cu:85: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 long unsigned int' and 'const long 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/objective/rank_obj.cc -o src/objective/rank_obj.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/objective/hinge.cc -o src/objective/hinge.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/objective/aft_obj.cc -o src/objective/aft_obj.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/objective/adaptive.cc -o src/objective/adaptive.o
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/json.h:8,
from src/objective/../collective/communicator.h:5,
from src/objective/../collective/communicator-inl.h:7,
from src/objective/adaptive.h:10,
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_NE(const X&, const Y&) [with X = long long unsigned int; Y = int]':
src/objective/../common/stats.h:123: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 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_GT(const X&, const Y&) [with X = long long unsigned int; Y = int]':
src/objective/adaptive.cc:51: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 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 long int; Y = long long unsigned int]':
src/objective/adaptive.cc:58: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 long int' and 'const long 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; \
| ^~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/gbm/gbm.cc -o src/gbm/gbm.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/gbm/gbtree.cc -o src/gbm/gbtree.o
In file included from ./dmlc-core/include/dmlc/./io.h:15,
from ./dmlc-core/include/dmlc/data.h:14,
from ./include/xgboost/data.h:11,
from src/gbm/gbtree.h:21,
from src/gbm/gbtree.cc:7:
./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.h:251: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; \
| ^~
./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 long unsigned int]':
src/gbm/gbtree.h:312: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:5)> [with auto:5 = 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:6&, xgboost::bst_node_t, xgboost::bst_feature_t)>]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/gbm/gbtree.h:326:16: required from here
326 | add_score([&](auto const&, bst_node_t, bst_feature_t split) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
327 | gain_map[split] = split_counts[split];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | });
| ~~
./dmlc-core/include/dmlc/././logging.h:199:24: warning: comparison of integer expressions of different signedness: 'const int' and 'const long 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_EQ(const X&, const Y&) [with X = unsigned int; Y = int]':
src/gbm/gbtree.h:373: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_LT(const X&, const Y&) [with X = int; Y = unsigned int]':
src/gbm/gbtree.h:179:7: required from 'bool xgboost::gbm::detail::SliceTrees(int32_t, int32_t, int32_t, const xgboost::gbm::GBTreeModel&, uint32_t, Func) [with Func = xgboost::gbm::GBTree::Slice(int32_t, int32_t, int32_t, xgboost::GradientBooster*, bool*) const::<lambda(const auto:9&, const auto:10&)>; int32_t = int; uint32_t = unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/gbm/gbtree.cc:505:37: required from here
505 | *out_of_bound = detail::SliceTrees(layer_begin, layer_end, step, this->model_, layer_trees,
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
506 | [&](auto const& in_it, auto const& out_it) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
507 | auto new_tree =
| ~~~~~~~~~~~~~~~
508 | std::make_unique<RegTree>(*this->model_.trees.at(in_it));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
509 | bst_group_t group = this->model_.tree_info[in_it];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
510 | out_trees.at(out_it) = std::move(new_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
511 | out_trees_info.at(out_it) = group;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
512 | });
| ~~
./dmlc-core/include/dmlc/././logging.h:197:24: warning: comparison of integer expressions of different signedness: 'const int' and 'const 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/gbm/gbtree_model.cc -o src/gbm/gbtree_model.o
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/json.h:8,
from src/gbm/gbtree_model.cc:6:
./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.h:251: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; \
| ^~
./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 long unsigned int]':
src/gbm/gbtree.h:312: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:5)> [with auto:5 = 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:6&, xgboost::bst_node_t, xgboost::bst_feature_t)>]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/gbm/gbtree.h:326:16: required from here
326 | add_score([&](auto const&, bst_node_t, bst_feature_t split) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
327 | gain_map[split] = split_counts[split];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | });
| ~~
./dmlc-core/include/dmlc/logging.h:199:24: warning: comparison of integer expressions of different signedness: 'const int' and 'const long 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_EQ(const X&, const Y&) [with X = unsigned int; Y = int]':
src/gbm/gbtree.h:373: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; \
| ^~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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:66: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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/gbm/gblinear_model.cc -o src/gbm/gblinear_model.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/data/simple_dmatrix.cc -o src/data/simple_dmatrix.o
In file included from ./dmlc-core/include/dmlc/./io.h:15,
from ./dmlc-core/include/dmlc/data.h:14,
from ./include/xgboost/data.h:11,
from src/data/simple_dmatrix.cc:12:
./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 long unsigned int; Y = int]':
src/data/../common/quantile.h:714: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 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 long unsigned int; Y = int]':
src/data/../common/row_set.h:101: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 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 long unsigned int; Y = int]':
src/data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:300:62: required from here
300 | 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/data/data.cc -o src/data/data.o
In file included from ./dmlc-core/include/dmlc/./io.h:15,
from ./dmlc-core/include/dmlc/data.h:14,
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 long unsigned int; Y = int]':
src/data/../data/array_interface.h:154: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 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 long unsigned int; Y = int]':
src/data/./../common/quantile.h:714: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 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:266: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 = int; Y = long long unsigned int]':
src/data/data.cc:237: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 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 long unsigned int; Y = int]':
src/data/data.cc:657: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 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_GT(const X&, const Y&) [with X = long long unsigned int; Y = int]':
src/data/./sparse_page_source.h:119:5: required from 'bool xgboost::data::SparsePageSourceImpl<S>::ReadCache() [with S = xgboost::SparsePage]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/./sparse_page_source.h:222:25: required from here
222 | if (!this->ReadCache()) {
| ~~~~~~~~~~~~~~~^~
./dmlc-core/include/dmlc/././logging.h:198:24: warning: comparison of integer expressions of different signedness: 'const long 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 long int; Y = long long unsigned int]':
src/data/./sparse_page_source.h:144:5: required from 'bool xgboost::data::SparsePageSourceImpl<S>::ReadCache() [with S = xgboost::SparsePage]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/./sparse_page_source.h:222:25: required from here
222 | if (!this->ReadCache()) {
| ~~~~~~~~~~~~~~~^~
./dmlc-core/include/dmlc/././logging.h:201:24: warning: comparison of integer expressions of different signedness: 'const long long int' and 'const long 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 long unsigned int; Y = int]':
src/data/../data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/../data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/../data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/../data/adapter.h:300:62: required from here
300 | 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/data/sparse_page_raw_format.cc -o src/data/sparse_page_raw_format.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/data/sparse_page_raw_format.cc:6:
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:86:7: note: by 'xgboost::JsonString& xgboost::JsonString::operator=(const xgboost::JsonString&)'
86 | class JsonString : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:112:7: note: by 'xgboost::JsonArray& xgboost::JsonArray::operator=(const xgboost::JsonArray&)'
112 | class JsonArray : public Value {
| ^~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:189:7: note: by 'xgboost::JsonObject& xgboost::JsonObject::operator=(const xgboost::JsonObject&)'
189 | class JsonObject : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:218:7: note: by 'xgboost::JsonNumber& xgboost::JsonNumber::operator=(const xgboost::JsonNumber&)'
218 | class JsonNumber : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:252:7: note: by 'xgboost::JsonInteger& xgboost::JsonInteger::operator=(const xgboost::JsonInteger&)'
252 | class JsonInteger : public Value {
| ^~~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:295:7: note: by 'xgboost::JsonNull& xgboost::JsonNull::operator=(const xgboost::JsonNull&)'
295 | class JsonNull : public Value {
| ^~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:311:7: note: by 'xgboost::JsonBoolean& xgboost::JsonBoolean::operator=(const xgboost::JsonBoolean&)'
311 | class JsonBoolean : public Value {
| ^~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/data/ellpack_page.cc -o src/data/ellpack_page.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/data/gradient_index.cc -o src/data/gradient_index.o
In file included from src/data/gradient_index.cc:12:
src/data/../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = unsigned char; bool any_missing = true; xgboost::bst_feature_t = unsigned int]':
src/data/gradient_index.cc:197:69: required from 'xgboost::GHistIndexMatrix::GetFvalue(const std::vector<unsigned int>&, const std::vector<float, std::allocator<float> >&, const std::vector<float, std::allocator<float> >&, xgboost::bst_row_t, xgboost::bst_feature_t, bool) const::<lambda(auto:22)> [with auto:22 = unsigned char]'
197 | auto column = columns_->DenseColumn<decltype(dtype), true>(fidx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/../common/hist_util.h:189:16: required from 'auto xgboost::common::DispatchBinType(BinTypeSize, Fn&&) [with Fn = xgboost::GHistIndexMatrix::GetFvalue(const std::vector<unsigned int>&, const std::vector<float, std::allocator<float> >&, const std::vector<float, std::allocator<float> >&, xgboost::bst_row_t, xgboost::bst_feature_t, bool) const::<lambda(auto:22)>]'
189 | return fn(uint8_t{});
| ~~^~~~~~~~~~~
src/data/gradient_index.cc:196:39: required from here
196 | return common::DispatchBinType(columns_->GetTypeSize(), [&](auto dtype) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
197 | auto column = columns_->DenseColumn<decltype(dtype), true>(fidx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | return get_bin_val(column);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | });
| ~~
src/data/../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/data/../common/column_matrix.h:260:94: note: remove 'std::move' call
src/data/../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = short unsigned int; bool any_missing = true; xgboost::bst_feature_t = unsigned int]':
src/data/gradient_index.cc:197:69: required from 'xgboost::GHistIndexMatrix::GetFvalue(const std::vector<unsigned int>&, const std::vector<float, std::allocator<float> >&, const std::vector<float, std::allocator<float> >&, xgboost::bst_row_t, xgboost::bst_feature_t, bool) const::<lambda(auto:22)> [with auto:22 = short unsigned int]'
197 | auto column = columns_->DenseColumn<decltype(dtype), true>(fidx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/../common/hist_util.h:192:16: required from 'auto xgboost::common::DispatchBinType(BinTypeSize, Fn&&) [with Fn = xgboost::GHistIndexMatrix::GetFvalue(const std::vector<unsigned int>&, const std::vector<float, std::allocator<float> >&, const std::vector<float, std::allocator<float> >&, xgboost::bst_row_t, xgboost::bst_feature_t, bool) const::<lambda(auto:22)>]'
192 | return fn(uint16_t{});
| ~~^~~~~~~~~~~~
src/data/gradient_index.cc:196:39: required from here
196 | return common::DispatchBinType(columns_->GetTypeSize(), [&](auto dtype) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
197 | auto column = columns_->DenseColumn<decltype(dtype), true>(fidx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | return get_bin_val(column);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | });
| ~~
src/data/../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/data/../common/column_matrix.h:260:94: note: remove 'std::move' call
src/data/../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = unsigned int; bool any_missing = true; xgboost::bst_feature_t = unsigned int]':
src/data/gradient_index.cc:197:69: required from 'xgboost::GHistIndexMatrix::GetFvalue(const std::vector<unsigned int>&, const std::vector<float, std::allocator<float> >&, const std::vector<float, std::allocator<float> >&, xgboost::bst_row_t, xgboost::bst_feature_t, bool) const::<lambda(auto:22)> [with auto:22 = unsigned int]'
197 | auto column = columns_->DenseColumn<decltype(dtype), true>(fidx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/../common/hist_util.h:195:16: required from 'auto xgboost::common::DispatchBinType(BinTypeSize, Fn&&) [with Fn = xgboost::GHistIndexMatrix::GetFvalue(const std::vector<unsigned int>&, const std::vector<float, std::allocator<float> >&, const std::vector<float, std::allocator<float> >&, xgboost::bst_row_t, xgboost::bst_feature_t, bool) const::<lambda(auto:22)>]'
195 | return fn(uint32_t{});
| ~~^~~~~~~~~~~~
src/data/gradient_index.cc:196:39: required from here
196 | return common::DispatchBinType(columns_->GetTypeSize(), [&](auto dtype) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
197 | auto column = columns_->DenseColumn<decltype(dtype), true>(fidx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
198 | return get_bin_val(column);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
199 | });
| ~~
src/data/../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/data/../common/column_matrix.h:260:94: note: remove 'std::move' call
src/data/../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = unsigned char; bool any_missing = false; xgboost::bst_feature_t = unsigned int]':
src/data/gradient_index.cc:202:70: required from 'xgboost::GHistIndexMatrix::GetFvalue(const std::vector<unsigned int>&, const std::vector<float, std::allocator<float> >&, const std::vector<float, std::allocator<float> >&, xgboost::bst_row_t, xgboost::bst_feature_t, bool) const::<lambda(auto:23)> [with auto:23 = unsigned char]'
202 | auto column = columns_->DenseColumn<decltype(dtype), false>(fidx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/../common/hist_util.h:189:16: required from 'auto xgboost::common::DispatchBinType(BinTypeSize, Fn&&) [with Fn = xgboost::GHistIndexMatrix::GetFvalue(const std::vector<unsigned int>&, const std::vector<float, std::allocator<float> >&, const std::vector<float, std::allocator<float> >&, xgboost::bst_row_t, xgboost::bst_feature_t, bool) const::<lambda(auto:23)>]'
189 | return fn(uint8_t{});
| ~~^~~~~~~~~~~
src/data/gradient_index.cc:201:39: required from here
201 | return common::DispatchBinType(columns_->GetTypeSize(), [&](auto dtype) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202 | auto column = columns_->DenseColumn<decltype(dtype), false>(fidx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 | auto bin_idx = column[ridx];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204 | return common::HistogramCuts::NumericBinValue(ptrs, values, mins, fidx, bin_idx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205 | });
| ~~
src/data/../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/data/../common/column_matrix.h:260:94: note: remove 'std::move' call
src/data/../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = short unsigned int; bool any_missing = false; xgboost::bst_feature_t = unsigned int]':
src/data/gradient_index.cc:202:70: required from 'xgboost::GHistIndexMatrix::GetFvalue(const std::vector<unsigned int>&, const std::vector<float, std::allocator<float> >&, const std::vector<float, std::allocator<float> >&, xgboost::bst_row_t, xgboost::bst_feature_t, bool) const::<lambda(auto:23)> [with auto:23 = short unsigned int]'
202 | auto column = columns_->DenseColumn<decltype(dtype), false>(fidx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/../common/hist_util.h:192:16: required from 'auto xgboost::common::DispatchBinType(BinTypeSize, Fn&&) [with Fn = xgboost::GHistIndexMatrix::GetFvalue(const std::vector<unsigned int>&, const std::vector<float, std::allocator<float> >&, const std::vector<float, std::allocator<float> >&, xgboost::bst_row_t, xgboost::bst_feature_t, bool) const::<lambda(auto:23)>]'
192 | return fn(uint16_t{});
| ~~^~~~~~~~~~~~
src/data/gradient_index.cc:201:39: required from here
201 | return common::DispatchBinType(columns_->GetTypeSize(), [&](auto dtype) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202 | auto column = columns_->DenseColumn<decltype(dtype), false>(fidx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 | auto bin_idx = column[ridx];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204 | return common::HistogramCuts::NumericBinValue(ptrs, values, mins, fidx, bin_idx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205 | });
| ~~
src/data/../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/data/../common/column_matrix.h:260:94: note: remove 'std::move' call
src/data/../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = unsigned int; bool any_missing = false; xgboost::bst_feature_t = unsigned int]':
src/data/gradient_index.cc:202:70: required from 'xgboost::GHistIndexMatrix::GetFvalue(const std::vector<unsigned int>&, const std::vector<float, std::allocator<float> >&, const std::vector<float, std::allocator<float> >&, xgboost::bst_row_t, xgboost::bst_feature_t, bool) const::<lambda(auto:23)> [with auto:23 = unsigned int]'
202 | auto column = columns_->DenseColumn<decltype(dtype), false>(fidx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/../common/hist_util.h:195:16: required from 'auto xgboost::common::DispatchBinType(BinTypeSize, Fn&&) [with Fn = xgboost::GHistIndexMatrix::GetFvalue(const std::vector<unsigned int>&, const std::vector<float, std::allocator<float> >&, const std::vector<float, std::allocator<float> >&, xgboost::bst_row_t, xgboost::bst_feature_t, bool) const::<lambda(auto:23)>]'
195 | return fn(uint32_t{});
| ~~^~~~~~~~~~~~
src/data/gradient_index.cc:201:39: required from here
201 | return common::DispatchBinType(columns_->GetTypeSize(), [&](auto dtype) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
202 | auto column = columns_->DenseColumn<decltype(dtype), false>(fidx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
203 | auto bin_idx = column[ridx];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204 | return common::HistogramCuts::NumericBinValue(ptrs, values, mins, fidx, bin_idx);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
205 | });
| ~~
src/data/../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/data/../common/column_matrix.h:260:94: note: remove 'std::move' call
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/span.h:33,
from src/data/../common/bitfield.h:22,
from src/data/../common/categorical.h:10,
from src/data/gradient_index.h:14,
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 long unsigned int; Y = int]':
src/data/../common/quantile.h:714: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 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 long unsigned int; Y = int]':
src/data/../common/row_set.h:101: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 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 long unsigned int; Y = int]':
src/data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:300:62: required from here
300 | 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 ./include/xgboost/span.h:33,
from src/data/../common/bitfield.h:22,
from src/data/../common/categorical.h:10,
from src/data/gradient_index.h:14,
from src/data/gradient_index_page_source.h:10,
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 long unsigned int; Y = int]':
src/data/../common/quantile.h:714: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 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 long unsigned int; Y = int]':
src/data/../common/row_set.h:101: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 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:266: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_NE(const X&, const Y&) [with X = long long unsigned int; Y = int]':
src/data/gradient_index_page_source.cc:18: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 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_GT(const X&, const Y&) [with X = long long unsigned int; Y = int]':
src/data/sparse_page_source.h:119:5: required from 'bool xgboost::data::SparsePageSourceImpl<S>::ReadCache() [with S = xgboost::SparsePage]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/sparse_page_source.h:222:25: required from here
222 | if (!this->ReadCache()) {
| ~~~~~~~~~~~~~~~^~
./dmlc-core/include/dmlc/logging.h:198:24: warning: comparison of integer expressions of different signedness: 'const long 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 long int; Y = long long unsigned int]':
src/data/sparse_page_source.h:144:5: required from 'bool xgboost::data::SparsePageSourceImpl<S>::ReadCache() [with S = xgboost::SparsePage]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/sparse_page_source.h:222:25: required from here
222 | if (!this->ReadCache()) {
| ~~~~~~~~~~~~~~~^~
./dmlc-core/include/dmlc/logging.h:201:24: warning: comparison of integer expressions of different signedness: 'const long long int' and 'const long 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 long unsigned int; Y = int]':
src/data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:300:62: required from here
300 | 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/data/gradient_index_format.cc -o src/data/gradient_index_format.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/data/sparse_page_writer.h:9,
from src/data/gradient_index_format.cc:4:
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:86:7: note: by 'xgboost::JsonString& xgboost::JsonString::operator=(const xgboost::JsonString&)'
86 | class JsonString : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:112:7: note: by 'xgboost::JsonArray& xgboost::JsonArray::operator=(const xgboost::JsonArray&)'
112 | class JsonArray : public Value {
| ^~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:189:7: note: by 'xgboost::JsonObject& xgboost::JsonObject::operator=(const xgboost::JsonObject&)'
189 | class JsonObject : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:218:7: note: by 'xgboost::JsonNumber& xgboost::JsonNumber::operator=(const xgboost::JsonNumber&)'
218 | class JsonNumber : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:252:7: note: by 'xgboost::JsonInteger& xgboost::JsonInteger::operator=(const xgboost::JsonInteger&)'
252 | class JsonInteger : public Value {
| ^~~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:295:7: note: by 'xgboost::JsonNull& xgboost::JsonNull::operator=(const xgboost::JsonNull&)'
295 | class JsonNull : public Value {
| ^~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:311:7: note: by 'xgboost::JsonBoolean& xgboost::JsonBoolean::operator=(const xgboost::JsonBoolean&)'
311 | class JsonBoolean : public Value {
| ^~~~~~~~~~~
In file included from ./dmlc-core/include/dmlc/./io.h:15,
from ./dmlc-core/include/dmlc/data.h:14,
from ./include/xgboost/data.h:11:
./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 long unsigned int; Y = int]':
src/data/../common/quantile.h:714: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 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 long unsigned int; Y = int]':
src/data/../common/row_set.h:101: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 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 long unsigned int; Y = int]':
src/data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:300:62: required from here
300 | 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/data/sparse_page_dmatrix.cc -o src/data/sparse_page_dmatrix.o
In file included from ./dmlc-core/include/dmlc/./io.h:15,
from ./dmlc-core/include/dmlc/data.h:14,
from ./include/xgboost/data.h:11,
from src/data/./sparse_page_dmatrix.h:10,
from src/data/sparse_page_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 long unsigned int; Y = int]':
src/data/./../common/quantile.h:714: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 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 long unsigned int; Y = int]':
src/data/./../common/row_set.h:101: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 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:266: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_NE(const X&, const Y&) [with X = long long unsigned int; Y = int]':
src/data/sparse_page_dmatrix.cc:100: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 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_GT(const X&, const Y&) [with X = long long unsigned int; Y = int]':
src/data/./sparse_page_source.h:119:5: required from 'bool xgboost::data::SparsePageSourceImpl<S>::ReadCache() [with S = xgboost::SparsePage]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/./sparse_page_source.h:222:25: required from here
222 | if (!this->ReadCache()) {
| ~~~~~~~~~~~~~~~^~
./dmlc-core/include/dmlc/././logging.h:198:24: warning: comparison of integer expressions of different signedness: 'const long 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 long int; Y = long long unsigned int]':
src/data/./sparse_page_source.h:144:5: required from 'bool xgboost::data::SparsePageSourceImpl<S>::ReadCache() [with S = xgboost::SparsePage]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/./sparse_page_source.h:222:25: required from here
222 | if (!this->ReadCache()) {
| ~~~~~~~~~~~~~~~^~
./dmlc-core/include/dmlc/././logging.h:201:24: warning: comparison of integer expressions of different signedness: 'const long long int' and 'const long 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 long unsigned int; Y = int]':
src/data/./array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/./array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/./array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/./adapter.h:300:62: required from here
300 | 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/data/proxy_dmatrix.cc -o src/data/proxy_dmatrix.o
In file included from ./dmlc-core/include/dmlc/any.h:17,
from src/data/proxy_dmatrix.h:7,
from src/data/proxy_dmatrix.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 long unsigned int; Y = int]':
src/data/array_interface.h:154: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 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 long unsigned int; Y = int]':
src/data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:300:62: required from here
300 | 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/data/iterative_dmatrix.cc -o src/data/iterative_dmatrix.o
In file included from ./dmlc-core/include/dmlc/any.h:17,
from src/data/proxy_dmatrix.h:7,
from src/data/iterative_dmatrix.h:13,
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 long unsigned int; Y = int]':
src/data/array_interface.h:154: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 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 long unsigned int; Y = int]':
src/data/../common/../data/../common/quantile.h:714: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 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 long unsigned int; Y = int]':
src/data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/data/adapter.h:300:62: required from here
300 | 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/predictor/predictor.cc -o src/predictor/predictor.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
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_NE(const X&, const Y&) [with X = unsigned int; Y = int]':
src/predictor/../gbm/gbtree.h:251: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; \
| ^~
./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 long unsigned int]':
src/predictor/../gbm/gbtree.h:312: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:5)> [with auto:5 = 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:6&, xgboost::bst_node_t, xgboost::bst_feature_t)>]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/predictor/../gbm/gbtree.h:326:16: required from here
326 | add_score([&](auto const&, bst_node_t, bst_feature_t split) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
327 | gain_map[split] = split_counts[split];
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | });
| ~~
./dmlc-core/include/dmlc/./logging.h:199:24: warning: comparison of integer expressions of different signedness: 'const int' and 'const long 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_EQ(const X&, const Y&) [with X = unsigned int; Y = int]':
src/predictor/../gbm/gbtree.h:373: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; \
| ^~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/predictor/cpu_predictor.cc -o src/predictor/cpu_predictor.o
In file included from ./dmlc-core/include/dmlc/any.h:17,
from src/predictor/cpu_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 long unsigned int; Y = int]':
src/predictor/../data/array_interface.h:154: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 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 long unsigned int; Y = int]':
src/predictor/../data/../common/quantile.h:714: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 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 long unsigned int; Y = int]':
src/predictor/cpu_predictor.cc:500: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 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 long unsigned int; Y = int]':
src/predictor/../data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/predictor/../data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/predictor/../data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/predictor/../data/adapter.h:300:62: required from here
300 | 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/tree/constraints.cc -o src/tree/constraints.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/tree/param.cc -o src/tree/param.o
In file included from src/tree/param.cc:8:
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:86:7: note: by 'xgboost::JsonString& xgboost::JsonString::operator=(const xgboost::JsonString&)'
86 | class JsonString : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:112:7: note: by 'xgboost::JsonArray& xgboost::JsonArray::operator=(const xgboost::JsonArray&)'
112 | class JsonArray : public Value {
| ^~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:189:7: note: by 'xgboost::JsonObject& xgboost::JsonObject::operator=(const xgboost::JsonObject&)'
189 | class JsonObject : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:218:7: note: by 'xgboost::JsonNumber& xgboost::JsonNumber::operator=(const xgboost::JsonNumber&)'
218 | class JsonNumber : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:252:7: note: by 'xgboost::JsonInteger& xgboost::JsonInteger::operator=(const xgboost::JsonInteger&)'
252 | class JsonInteger : public Value {
| ^~~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:295:7: note: by 'xgboost::JsonNull& xgboost::JsonNull::operator=(const xgboost::JsonNull&)'
295 | class JsonNull : public Value {
| ^~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:311:7: note: by 'xgboost::JsonBoolean& xgboost::JsonBoolean::operator=(const xgboost::JsonBoolean&)'
311 | class JsonBoolean : public Value {
| ^~~~~~~~~~~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/tree/tree_model.cc -o src/tree/tree_model.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
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_EQ(const X&, const Y&) [with X = long long unsigned int; Y = int]':
src/tree/tree_model.cc:985: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 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 long unsigned int; Y = int]':
src/tree/tree_model.cc:1008: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 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 = int; Y = long long unsigned int]':
src/tree/tree_model.cc:1069:3: required from 'bool xgboost::LoadModelImpl(const Json&, TreeParam*, std::vector<RTreeNodeStat>*, std::vector<FeatureType, std::allocator<FeatureType> >*, std::vector<RegTree::Node>*, std::vector<RegTree::Segment>*) [with bool typed = true; bool feature_is_64 = true; FloatArrayT = const JsonTypedArray<float, xgboost::Value::ValueKind::kNumberArray>; U8ArrayT = const JsonTypedArray<unsigned char, xgboost::Value::ValueKind::kU8Array>; I32ArrayT = const JsonTypedArray<int, xgboost::Value::ValueKind::kI32Array>; I64ArrayT = const JsonTypedArray<long long int, xgboost::Value::ValueKind::kI64Array>; IndexArrayT = const JsonTypedArray<long long int, xgboost::Value::ValueKind::kI64Array>]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/tree/tree_model.cc:1099:40: required from here
1099 | has_cat = LoadModelImpl<true, true>(in, ¶m, &stats_, &split_types_, &nodes_,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1100 | &split_categories_segments_);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./dmlc-core/include/dmlc/./logging.h:201:24: warning: comparison of integer expressions of different signedness: 'const int' and 'const long 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; \
| ^~
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/tree/tree_updater.cc -o src/tree/tree_updater.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/tree/updater_approx.cc -o src/tree/updater_approx.o
In file included from ./include/xgboost/logging.h:11,
from src/tree/../common/random.h:10,
from src/tree/updater_approx.cc:10:
./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 long unsigned int; Y = int]':
src/tree/../data/../common/quantile.h:714: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 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 long unsigned int; Y = int]':
src/tree/../data/../common/row_set.h:101: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 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 = int; Y = long long unsigned int]':
src/tree/updater_approx.cc:69: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 int' and 'const long 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; \
| ^~
In file included from src/tree/../common/partition_builder.h:19,
from src/tree/common_row_partitioner.h:13,
from src/tree/updater_approx.cc:12:
src/tree/../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = unsigned char; bool any_missing = true; xgboost::bst_feature_t = unsigned int]':
src/tree/../common/partition_builder.h:173:73: required from 'void xgboost::common::PartitionBuilder<BlockSize>::Partition(size_t, const std::vector<xgboost::tree::CPUExpandEntry>&, xgboost::common::Range1d, xgboost::bst_bin_t, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const xgboost::RegTree&, const size_t*) [with BinIdxType = unsigned char; bool any_missing = true; bool any_cat = true; long long unsigned int BlockSize = 2048; size_t = long long unsigned int; xgboost::bst_bin_t = int]'
173 | auto column = column_matrix.DenseColumn<BinIdxType, any_missing>(fid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/tree/common_row_partitioner.h:165:78: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with BinIdxType = unsigned char; bool any_missing = true; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
165 | partition_builder_.template Partition<BinIdxType, any_missing, any_cat>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
166 | node_in_set, nodes, r, split_cond, gmat, column_matrix, *p_tree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | row_set_collection_[nid].begin);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:87:57: required from here
87 | this->template UpdatePosition<uint8_t, true, true>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/tree/../common/column_matrix.h:260:94: note: remove 'std::move' call
./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 long unsigned int; Y = int]':
src/tree/hist/histogram.h:65:5: required from 'void xgboost::tree::HistogramBuilder<ExpandEntry>::BuildLocalHistograms(size_t, xgboost::common::BlockedSpace2d, const xgboost::GHistIndexMatrix&, const std::vector<T>&, const xgboost::common::RowSetCollection&, const std::vector<xgboost::detail::GradientPairInternal<float> >&, bool) [with bool any_missing = false; ExpandEntry = xgboost::tree::CPUExpandEntry; size_t = long long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/tree/hist/histogram.h:127:40: required from 'void xgboost::tree::HistogramBuilder<ExpandEntry>::BuildHist(size_t, xgboost::common::BlockedSpace2d, const xgboost::GHistIndexMatrix&, xgboost::RegTree*, const xgboost::common::RowSetCollection&, const std::vector<T>&, const std::vector<T>&, const std::vector<xgboost::detail::GradientPairInternal<float> >&, bool) [with ExpandEntry = xgboost::tree::CPUExpandEntry; size_t = long long unsigned int]'
127 | this->BuildLocalHistograms<false>(page_id, space, gidx,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
128 | nodes_for_explicit_hist_build,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | row_set_collection, gpair,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | force_read_by_column);
| ~~~~~~~~~~~~~~~~~~~~~
src/tree/updater_approx.cc:95:35: required from here
95 | histogram_builder_.BuildHist(i, space, page, p_tree, partitioner_.at(i).Partitions(), nodes,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
96 | {}, gpair);
| ~~~~~~~~~~
./dmlc-core/include/dmlc/logging.h:198:24: warning: comparison of integer expressions of different signedness: 'const long 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_LT(const X&, const Y&) [with X = long long unsigned int; Y = int]':
src/tree/../data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/tree/../data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/tree/../data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/tree/../data/adapter.h:300:62: required from here
300 | 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 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; \
| ^~
src/tree/../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = short unsigned int; bool any_missing = true; xgboost::bst_feature_t = unsigned int]':
src/tree/../common/partition_builder.h:173:73: required from 'void xgboost::common::PartitionBuilder<BlockSize>::Partition(size_t, const std::vector<xgboost::tree::CPUExpandEntry>&, xgboost::common::Range1d, xgboost::bst_bin_t, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const xgboost::RegTree&, const size_t*) [with BinIdxType = short unsigned int; bool any_missing = true; bool any_cat = true; long long unsigned int BlockSize = 2048; size_t = long long unsigned int; xgboost::bst_bin_t = int]'
173 | auto column = column_matrix.DenseColumn<BinIdxType, any_missing>(fid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/tree/common_row_partitioner.h:165:78: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with BinIdxType = short unsigned int; bool any_missing = true; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
165 | partition_builder_.template Partition<BinIdxType, any_missing, any_cat>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
166 | node_in_set, nodes, r, split_cond, gmat, column_matrix, *p_tree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | row_set_collection_[nid].begin);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:112:70: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_missing = true; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
112 | this->template UpdatePosition<uint16_t, any_missing, any_cat>(ctx, gmat, column_matrix,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
113 | nodes, p_tree);
| ~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:96:51: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
96 | this->template UpdatePosition<true, any_cat>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:77:44: required from here
77 | this->template UpdatePosition<true>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/tree/../common/column_matrix.h:260:94: note: remove 'std::move' call
src/tree/../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = unsigned int; bool any_missing = true; xgboost::bst_feature_t = unsigned int]':
src/tree/../common/partition_builder.h:173:73: required from 'void xgboost::common::PartitionBuilder<BlockSize>::Partition(size_t, const std::vector<xgboost::tree::CPUExpandEntry>&, xgboost::common::Range1d, xgboost::bst_bin_t, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const xgboost::RegTree&, const size_t*) [with BinIdxType = unsigned int; bool any_missing = true; bool any_cat = true; long long unsigned int BlockSize = 2048; size_t = long long unsigned int; xgboost::bst_bin_t = int]'
173 | auto column = column_matrix.DenseColumn<BinIdxType, any_missing>(fid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/tree/common_row_partitioner.h:165:78: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with BinIdxType = unsigned int; bool any_missing = true; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
165 | partition_builder_.template Partition<BinIdxType, any_missing, any_cat>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
166 | node_in_set, nodes, r, split_cond, gmat, column_matrix, *p_tree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | row_set_collection_[nid].begin);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:116:70: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_missing = true; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
116 | this->template UpdatePosition<uint32_t, any_missing, any_cat>(ctx, gmat, column_matrix,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
117 | nodes, p_tree);
| ~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:96:51: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
96 | this->template UpdatePosition<true, any_cat>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:77:44: required from here
77 | this->template UpdatePosition<true>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/tree/../common/column_matrix.h:260:94: note: remove 'std::move' call
src/tree/../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = unsigned char; bool any_missing = false; xgboost::bst_feature_t = unsigned int]':
src/tree/../common/partition_builder.h:173:73: required from 'void xgboost::common::PartitionBuilder<BlockSize>::Partition(size_t, const std::vector<xgboost::tree::CPUExpandEntry>&, xgboost::common::Range1d, xgboost::bst_bin_t, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const xgboost::RegTree&, const size_t*) [with BinIdxType = unsigned char; bool any_missing = false; bool any_cat = true; long long unsigned int BlockSize = 2048; size_t = long long unsigned int; xgboost::bst_bin_t = int]'
173 | auto column = column_matrix.DenseColumn<BinIdxType, any_missing>(fid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/tree/common_row_partitioner.h:165:78: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with BinIdxType = unsigned char; bool any_missing = false; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
165 | partition_builder_.template Partition<BinIdxType, any_missing, any_cat>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
166 | node_in_set, nodes, r, split_cond, gmat, column_matrix, *p_tree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | row_set_collection_[nid].begin);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:108:69: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_missing = false; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
108 | this->template UpdatePosition<uint8_t, any_missing, any_cat>(ctx, gmat, column_matrix,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
109 | nodes, p_tree);
| ~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:98:52: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
98 | this->template UpdatePosition<false, any_cat>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:77:44: required from here
77 | this->template UpdatePosition<true>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/tree/../common/column_matrix.h:260:94: note: remove 'std::move' call
src/tree/../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = short unsigned int; bool any_missing = false; xgboost::bst_feature_t = unsigned int]':
src/tree/../common/partition_builder.h:173:73: required from 'void xgboost::common::PartitionBuilder<BlockSize>::Partition(size_t, const std::vector<xgboost::tree::CPUExpandEntry>&, xgboost::common::Range1d, xgboost::bst_bin_t, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const xgboost::RegTree&, const size_t*) [with BinIdxType = short unsigned int; bool any_missing = false; bool any_cat = true; long long unsigned int BlockSize = 2048; size_t = long long unsigned int; xgboost::bst_bin_t = int]'
173 | auto column = column_matrix.DenseColumn<BinIdxType, any_missing>(fid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/tree/common_row_partitioner.h:165:78: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with BinIdxType = short unsigned int; bool any_missing = false; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
165 | partition_builder_.template Partition<BinIdxType, any_missing, any_cat>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
166 | node_in_set, nodes, r, split_cond, gmat, column_matrix, *p_tree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | row_set_collection_[nid].begin);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:112:70: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_missing = false; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
112 | this->template UpdatePosition<uint16_t, any_missing, any_cat>(ctx, gmat, column_matrix,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
113 | nodes, p_tree);
| ~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:98:52: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
98 | this->template UpdatePosition<false, any_cat>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:77:44: required from here
77 | this->template UpdatePosition<true>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/tree/../common/column_matrix.h:260:94: note: remove 'std::move' call
src/tree/../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = unsigned int; bool any_missing = false; xgboost::bst_feature_t = unsigned int]':
src/tree/../common/partition_builder.h:173:73: required from 'void xgboost::common::PartitionBuilder<BlockSize>::Partition(size_t, const std::vector<xgboost::tree::CPUExpandEntry>&, xgboost::common::Range1d, xgboost::bst_bin_t, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const xgboost::RegTree&, const size_t*) [with BinIdxType = unsigned int; bool any_missing = false; bool any_cat = true; long long unsigned int BlockSize = 2048; size_t = long long unsigned int; xgboost::bst_bin_t = int]'
173 | auto column = column_matrix.DenseColumn<BinIdxType, any_missing>(fid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/tree/common_row_partitioner.h:165:78: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with BinIdxType = unsigned int; bool any_missing = false; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
165 | partition_builder_.template Partition<BinIdxType, any_missing, any_cat>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
166 | node_in_set, nodes, r, split_cond, gmat, column_matrix, *p_tree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | row_set_collection_[nid].begin);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:116:70: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_missing = false; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
116 | this->template UpdatePosition<uint32_t, any_missing, any_cat>(ctx, gmat, column_matrix,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
117 | nodes, p_tree);
| ~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:98:52: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
98 | this->template UpdatePosition<false, any_cat>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/common_row_partitioner.h:77:44: required from here
77 | this->template UpdatePosition<true>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/tree/../common/column_matrix.h:260:94: note: remove 'std::move' call
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/tree/updater_colmaker.cc -o src/tree/updater_colmaker.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/tree/updater_prune.cc -o src/tree/updater_prune.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/tree/updater_quantile_hist.cc -o src/tree/updater_quantile_hist.o
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from ./include/xgboost/tree_updater.h:11,
from src/tree/./updater_quantile_hist.h:10,
from src/tree/updater_quantile_hist.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 long unsigned int; Y = int]':
src/tree/./hist/../../common/quantile.h:714: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 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 long unsigned int; Y = int]':
src/tree/./hist/../../common/row_set.h:101: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 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 = int; Y = long long unsigned int]':
src/tree/updater_quantile_hist.cc:312: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 int' and 'const long 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; \
| ^~
In file included from src/tree/./../common/partition_builder.h:19,
from src/tree/./common_row_partitioner.h:13,
from src/tree/./updater_quantile_hist.h:27:
src/tree/./../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = unsigned char; bool any_missing = true; xgboost::bst_feature_t = unsigned int]':
src/tree/./../common/partition_builder.h:173:73: required from 'void xgboost::common::PartitionBuilder<BlockSize>::Partition(size_t, const std::vector<xgboost::tree::CPUExpandEntry>&, xgboost::common::Range1d, xgboost::bst_bin_t, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const xgboost::RegTree&, const size_t*) [with BinIdxType = unsigned char; bool any_missing = true; bool any_cat = true; long long unsigned int BlockSize = 2048; size_t = long long unsigned int; xgboost::bst_bin_t = int]'
173 | auto column = column_matrix.DenseColumn<BinIdxType, any_missing>(fid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/tree/./common_row_partitioner.h:165:78: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with BinIdxType = unsigned char; bool any_missing = true; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
165 | partition_builder_.template Partition<BinIdxType, any_missing, any_cat>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
166 | node_in_set, nodes, r, split_cond, gmat, column_matrix, *p_tree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | row_set_collection_[nid].begin);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:87:57: required from here
87 | this->template UpdatePosition<uint8_t, true, true>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/tree/./../common/column_matrix.h:260:94: note: remove 'std::move' call
./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 long unsigned int; Y = int]':
src/tree/./hist/histogram.h:65:5: required from 'void xgboost::tree::HistogramBuilder<ExpandEntry>::BuildLocalHistograms(size_t, xgboost::common::BlockedSpace2d, const xgboost::GHistIndexMatrix&, const std::vector<T>&, const xgboost::common::RowSetCollection&, const std::vector<xgboost::detail::GradientPairInternal<float> >&, bool) [with bool any_missing = false; ExpandEntry = xgboost::tree::CPUExpandEntry; size_t = long long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/tree/./hist/histogram.h:127:40: required from 'void xgboost::tree::HistogramBuilder<ExpandEntry>::BuildHist(size_t, xgboost::common::BlockedSpace2d, const xgboost::GHistIndexMatrix&, xgboost::RegTree*, const xgboost::common::RowSetCollection&, const std::vector<T>&, const std::vector<T>&, const std::vector<xgboost::detail::GradientPairInternal<float> >&, bool) [with ExpandEntry = xgboost::tree::CPUExpandEntry; size_t = long long unsigned int]'
127 | this->BuildLocalHistograms<false>(page_id, space, gidx,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
128 | nodes_for_explicit_hist_build,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
129 | row_set_collection, gpair,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
130 | force_read_by_column);
| ~~~~~~~~~~~~~~~~~~~~~
src/tree/updater_quantile_hist.cc:73:40: required from here
73 | this->histogram_builder_->BuildHist(page_id, space, gidx, p_tree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
74 | partitioner_.at(page_id).Partitions(), nodes_to_build,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75 | nodes_to_sub, gpair_h);
| ~~~~~~~~~~~~~~~~~~~~~~
./dmlc-core/include/dmlc/./logging.h:198:24: warning: comparison of integer expressions of different signedness: 'const long 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_LT(const X&, const Y&) [with X = long long unsigned int; Y = int]':
src/tree/./hist/../../data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/tree/./hist/../../data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/tree/./hist/../../data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/tree/./hist/../../data/adapter.h:300:62: required from here
300 | 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 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; \
| ^~
src/tree/./../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = short unsigned int; bool any_missing = true; xgboost::bst_feature_t = unsigned int]':
src/tree/./../common/partition_builder.h:173:73: required from 'void xgboost::common::PartitionBuilder<BlockSize>::Partition(size_t, const std::vector<xgboost::tree::CPUExpandEntry>&, xgboost::common::Range1d, xgboost::bst_bin_t, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const xgboost::RegTree&, const size_t*) [with BinIdxType = short unsigned int; bool any_missing = true; bool any_cat = true; long long unsigned int BlockSize = 2048; size_t = long long unsigned int; xgboost::bst_bin_t = int]'
173 | auto column = column_matrix.DenseColumn<BinIdxType, any_missing>(fid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/tree/./common_row_partitioner.h:165:78: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with BinIdxType = short unsigned int; bool any_missing = true; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
165 | partition_builder_.template Partition<BinIdxType, any_missing, any_cat>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
166 | node_in_set, nodes, r, split_cond, gmat, column_matrix, *p_tree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | row_set_collection_[nid].begin);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:112:70: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_missing = true; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
112 | this->template UpdatePosition<uint16_t, any_missing, any_cat>(ctx, gmat, column_matrix,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
113 | nodes, p_tree);
| ~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:96:51: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
96 | this->template UpdatePosition<true, any_cat>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:77:44: required from here
77 | this->template UpdatePosition<true>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/tree/./../common/column_matrix.h:260:94: note: remove 'std::move' call
src/tree/./../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = unsigned int; bool any_missing = true; xgboost::bst_feature_t = unsigned int]':
src/tree/./../common/partition_builder.h:173:73: required from 'void xgboost::common::PartitionBuilder<BlockSize>::Partition(size_t, const std::vector<xgboost::tree::CPUExpandEntry>&, xgboost::common::Range1d, xgboost::bst_bin_t, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const xgboost::RegTree&, const size_t*) [with BinIdxType = unsigned int; bool any_missing = true; bool any_cat = true; long long unsigned int BlockSize = 2048; size_t = long long unsigned int; xgboost::bst_bin_t = int]'
173 | auto column = column_matrix.DenseColumn<BinIdxType, any_missing>(fid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/tree/./common_row_partitioner.h:165:78: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with BinIdxType = unsigned int; bool any_missing = true; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
165 | partition_builder_.template Partition<BinIdxType, any_missing, any_cat>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
166 | node_in_set, nodes, r, split_cond, gmat, column_matrix, *p_tree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | row_set_collection_[nid].begin);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:116:70: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_missing = true; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
116 | this->template UpdatePosition<uint32_t, any_missing, any_cat>(ctx, gmat, column_matrix,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
117 | nodes, p_tree);
| ~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:96:51: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
96 | this->template UpdatePosition<true, any_cat>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:77:44: required from here
77 | this->template UpdatePosition<true>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/tree/./../common/column_matrix.h:260:94: note: remove 'std::move' call
src/tree/./../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = unsigned char; bool any_missing = false; xgboost::bst_feature_t = unsigned int]':
src/tree/./../common/partition_builder.h:173:73: required from 'void xgboost::common::PartitionBuilder<BlockSize>::Partition(size_t, const std::vector<xgboost::tree::CPUExpandEntry>&, xgboost::common::Range1d, xgboost::bst_bin_t, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const xgboost::RegTree&, const size_t*) [with BinIdxType = unsigned char; bool any_missing = false; bool any_cat = true; long long unsigned int BlockSize = 2048; size_t = long long unsigned int; xgboost::bst_bin_t = int]'
173 | auto column = column_matrix.DenseColumn<BinIdxType, any_missing>(fid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/tree/./common_row_partitioner.h:165:78: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with BinIdxType = unsigned char; bool any_missing = false; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
165 | partition_builder_.template Partition<BinIdxType, any_missing, any_cat>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
166 | node_in_set, nodes, r, split_cond, gmat, column_matrix, *p_tree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | row_set_collection_[nid].begin);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:108:69: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_missing = false; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
108 | this->template UpdatePosition<uint8_t, any_missing, any_cat>(ctx, gmat, column_matrix,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
109 | nodes, p_tree);
| ~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:98:52: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
98 | this->template UpdatePosition<false, any_cat>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:77:44: required from here
77 | this->template UpdatePosition<true>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/tree/./../common/column_matrix.h:260:94: note: remove 'std::move' call
src/tree/./../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = short unsigned int; bool any_missing = false; xgboost::bst_feature_t = unsigned int]':
src/tree/./../common/partition_builder.h:173:73: required from 'void xgboost::common::PartitionBuilder<BlockSize>::Partition(size_t, const std::vector<xgboost::tree::CPUExpandEntry>&, xgboost::common::Range1d, xgboost::bst_bin_t, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const xgboost::RegTree&, const size_t*) [with BinIdxType = short unsigned int; bool any_missing = false; bool any_cat = true; long long unsigned int BlockSize = 2048; size_t = long long unsigned int; xgboost::bst_bin_t = int]'
173 | auto column = column_matrix.DenseColumn<BinIdxType, any_missing>(fid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/tree/./common_row_partitioner.h:165:78: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with BinIdxType = short unsigned int; bool any_missing = false; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
165 | partition_builder_.template Partition<BinIdxType, any_missing, any_cat>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
166 | node_in_set, nodes, r, split_cond, gmat, column_matrix, *p_tree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | row_set_collection_[nid].begin);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:112:70: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_missing = false; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
112 | this->template UpdatePosition<uint16_t, any_missing, any_cat>(ctx, gmat, column_matrix,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
113 | nodes, p_tree);
| ~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:98:52: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
98 | this->template UpdatePosition<false, any_cat>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:77:44: required from here
77 | this->template UpdatePosition<true>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/tree/./../common/column_matrix.h:260:94: note: remove 'std::move' call
src/tree/./../common/column_matrix.h: In instantiation of 'auto xgboost::common::ColumnMatrix::DenseColumn(xgboost::bst_feature_t) const [with BinIdxType = unsigned int; bool any_missing = false; xgboost::bst_feature_t = unsigned int]':
src/tree/./../common/partition_builder.h:173:73: required from 'void xgboost::common::PartitionBuilder<BlockSize>::Partition(size_t, const std::vector<xgboost::tree::CPUExpandEntry>&, xgboost::common::Range1d, xgboost::bst_bin_t, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const xgboost::RegTree&, const size_t*) [with BinIdxType = unsigned int; bool any_missing = false; bool any_cat = true; long long unsigned int BlockSize = 2048; size_t = long long unsigned int; xgboost::bst_bin_t = int]'
173 | auto column = column_matrix.DenseColumn<BinIdxType, any_missing>(fid);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/tree/./common_row_partitioner.h:165:78: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with BinIdxType = unsigned int; bool any_missing = false; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
165 | partition_builder_.template Partition<BinIdxType, any_missing, any_cat>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
166 | node_in_set, nodes, r, split_cond, gmat, column_matrix, *p_tree,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
167 | row_set_collection_[nid].begin);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:116:70: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_missing = false; bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
116 | this->template UpdatePosition<uint32_t, any_missing, any_cat>(ctx, gmat, column_matrix,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
117 | nodes, p_tree);
| ~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:98:52: required from 'void xgboost::tree::CommonRowPartitioner::UpdatePosition(const xgboost::Context*, const xgboost::GHistIndexMatrix&, const xgboost::common::ColumnMatrix&, const std::vector<xgboost::tree::CPUExpandEntry>&, const xgboost::RegTree*) [with bool any_cat = true; xgboost::Context = xgboost::GenericParameter]'
98 | this->template UpdatePosition<false, any_cat>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./common_row_partitioner.h:77:44: required from here
77 | this->template UpdatePosition<true>(ctx, gmat, column_matrix, nodes, p_tree);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/tree/./../common/column_matrix.h:260:94: warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
260 | bin_index, static_cast<bst_bin_t>(index_base_[fidx]), missing_flags_, feature_offset});
| ^
src/tree/./../common/column_matrix.h:260:94: note: remove 'std::move' call
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/tree/updater_refresh.cc -o src/tree/updater_refresh.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/tree/updater_sync.cc -o src/tree/updater_sync.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/linear/linear_updater.cc -o src/linear/linear_updater.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/linear/updater_coordinate.cc -o src/linear/updater_coordinate.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/linear/updater_shotgun.cc -o src/linear/updater_shotgun.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/learner.cc -o src/learner.o
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/feature_map.h:10,
from ./include/xgboost/learner.h:12,
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 long unsigned int; Y = int]':
src/learner.cc:251: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 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 long unsigned int; Y = int]':
src/learner.cc:425: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 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:792: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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/logging.cc -o src/logging.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/global_config.cc -o src/global_config.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/collective/communicator.cc -o src/collective/communicator.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/collective/socket.cc -o src/collective/socket.o
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/collective/socket.h:56,
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 long unsigned int; Y = int]':
src/collective/socket.cc:56: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 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_EQ(const X&, const Y&) [with X = long 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:201:24: warning: comparison of integer expressions of different signedness: 'const long 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/common/charconv.cc -o src/common/charconv.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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:19,
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 long unsigned int; Y = int]':
src/common/../data/array_interface.h:154: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 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 long unsigned int; Y = int]':
src/common/../data/../common/quantile.h:714: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 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 long unsigned int; Y = int]':
src/common/../data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/common/../data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/common/../data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/common/../data/adapter.h:300:62: required from here
300 | 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/common/common.cc -o src/common/common.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/common/hist_util.cc -o src/common/hist_util.o
In file included from ./dmlc-core/include/dmlc/timer.h:21,
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 long unsigned int; Y = int]':
src/common/quantile.h:714: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 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 long unsigned int; Y = int]':
src/common/row_set.h:101: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 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 long unsigned int; Y = int]':
src/common/../data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/common/../data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/common/../data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/common/../data/adapter.h:300:62: required from here
300 | 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/common/host_device_vector.cc -o src/common/host_device_vector.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/common/io.cc -o src/common/io.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/common/json.cc -o src/common/json.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/common/numeric.cc -o src/common/numeric.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/common/pseudo_huber.cc -o src/common/pseudo_huber.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/common/quantile.cc -o src/common/quantile.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/common/quantile.h:11,
from src/common/quantile.cc:4:
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:86:7: note: by 'xgboost::JsonString& xgboost::JsonString::operator=(const xgboost::JsonString&)'
86 | class JsonString : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:112:7: note: by 'xgboost::JsonArray& xgboost::JsonArray::operator=(const xgboost::JsonArray&)'
112 | class JsonArray : public Value {
| ^~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:189:7: note: by 'xgboost::JsonObject& xgboost::JsonObject::operator=(const xgboost::JsonObject&)'
189 | class JsonObject : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:218:7: note: by 'xgboost::JsonNumber& xgboost::JsonNumber::operator=(const xgboost::JsonNumber&)'
218 | class JsonNumber : public Value {
| ^~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:252:7: note: by 'xgboost::JsonInteger& xgboost::JsonInteger::operator=(const xgboost::JsonInteger&)'
252 | class JsonInteger : public Value {
| ^~~~~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:295:7: note: by 'xgboost::JsonNull& xgboost::JsonNull::operator=(const xgboost::JsonNull&)'
295 | class JsonNull : public Value {
| ^~~~~~~~
./include/xgboost/json.h:62:18: warning: 'virtual xgboost::Value& xgboost::Value::operator=(const xgboost::Value&)' was hidden [-Woverloaded-virtual=]
62 | virtual Value& operator=(Value const& rhs) = delete;
| ^~~~~~~~
./include/xgboost/json.h:311:7: note: by 'xgboost::JsonBoolean& xgboost::JsonBoolean::operator=(const xgboost::JsonBoolean&)'
311 | class JsonBoolean : public Value {
| ^~~~~~~~~~~
In file included from ./dmlc-core/include/dmlc/./io.h:15,
from ./dmlc-core/include/dmlc/data.h:14,
from ./include/xgboost/data.h:11:
./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 long unsigned int; Y = int]':
src/common/quantile.h:714: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 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 long unsigned int; Y = int]':
src/common/../data/array_interface.h:154: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 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 long unsigned int; Y = int]':
src/common/quantile.cc:28:3: required from 'xgboost::common::SketchContainerImpl<WQSketch>::SketchContainerImpl(std::vector<long long unsigned int>, int32_t, xgboost::common::Span<const xgboost::FeatureType, 18446744073709551615>, bool, int32_t) [with WQSketch = xgboost::common::WXQuantileSketch<float, float>; int32_t = int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/common/quantile.h:1005:77: required from here
1005 | : SketchContainerImpl{columns_size, max_bins, ft, use_group, n_threads} {
| ^
./dmlc-core/include/dmlc/././logging.h:202:24: warning: comparison of integer expressions of different signedness: 'const long 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 long unsigned int; Y = int]':
src/common/../data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/common/../data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/common/../data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/common/../data/adapter.h:300:62: required from here
300 | 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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:5:
./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 long unsigned int; Y = int]':
src/common/random.cc:15: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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/common/survival_util.cc -o src/common/survival_util.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/common/threading_utils.cc -o src/common/threading_utils.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/common/timer.cc -o src/common/timer.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/common/version.cc -o src/common/version.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/c_api/c_api.cc -o src/c_api/c_api.o
In file included from ./dmlc-core/include/dmlc/./io.h:15,
from ./dmlc-core/include/dmlc/data.h:14,
from ./include/xgboost/data.h:11,
from src/c_api/c_api.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 long unsigned int; Y = int]':
src/c_api/../data/array_interface.h:154: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 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 long unsigned int; Y = int]':
src/c_api/../data/../common/quantile.h:714: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 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 long unsigned int; Y = int]':
src/c_api/../data/array_interface.h:227: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 long unsigned int]'
206 | if (auto __dmlc__log__err = dmlc::LogCheck##name(x, y)) \
| ~~~~~~~~~~~~~~~~~~~~^~~~~~
src/c_api/../data/array_interface.h:392: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> >]'
392 | ArrayInterfaceHandler::ExtractShape(array, shape);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
src/c_api/../data/array_interface.h:429: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> >]'
429 | explicit ArrayInterface(Object::Map const &array) { this->Initialize(array); }
| ~~~~~~^~~~~~~~~~
src/c_api/../data/adapter.h:300:62: required from here
300 | 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 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++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c src/c_api/c_api_error.cc -o src/c_api/c_api_error.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c amalgamation/dmlc-minimum0.cc -o amalgamation/dmlc-minimum0.o
In file included from amalgamation/../dmlc-core/src/io/././input_split_base.h:11,
from amalgamation/../dmlc-core/src/io/./line_split.h:15,
from amalgamation/../dmlc-core/src/io/line_split.cc:5,
from amalgamation/dmlc-minimum0.cc:6:
./dmlc-core/include/dmlc/filesystem.h:19:9: warning: "NOMINMAX" redefined
19 | #define NOMINMAX
| ^~~~~~~~
In file included from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/x86_64-w64-mingw32.static.posix/bits/c++config.h:680,
from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/cstdio:41,
from ./dmlc-core/include/dmlc/io.h:8,
from amalgamation/../dmlc-core/src/io/line_split.cc:2:
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.2.0/include/c++/x86_64-w64-mingw32.static.posix/bits/os_defines.h:45:9: note: this is the location of the previous definition
45 | #define NOMINMAX 1
| ^~~~~~~~
./dmlc-core/include/dmlc/filesystem.h:22: warning: ignoring '#pragma comment ' [-Wunknown-pragmas]
22 | #pragma comment(lib, "Shlwapi.lib")
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rabit/src/engine.cc -o rabit/src/engine.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rabit/src/rabit_c_api.cc -o rabit/src/rabit_c_api.o
g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=0 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rabit/src/allreduce_base.cc -o rabit/src/allreduce_base.o
g++ -shared -s -static-libgcc -o xgboost.dll xgboost-win.def ./xgboost_R.o ./xgboost_custom.o ./init.o ./src/metric/metric.o ./src/metric/elementwise_metric.o ./src/metric/multiclass_metric.o ./src/metric/rank_metric.o ./src/metric/auc.o ./src/metric/survival_metric.o ./src/objective/objective.o ./src/objective/regression_obj.o ./src/objective/multiclass_obj.o ./src/objective/rank_obj.o ./src/objective/hinge.o ./src/objective/aft_obj.o ./src/objective/adaptive.o ./src/gbm/gbm.o ./src/gbm/gbtree.o ./src/gbm/gbtree_model.o ./src/gbm/gblinear.o ./src/gbm/gblinear_model.o ./src/data/simple_dmatrix.o ./src/data/data.o ./src/data/sparse_page_raw_format.o ./src/data/ellpack_page.o ./src/data/gradient_index.o ./src/data/gradient_index_page_source.o ./src/data/gradient_index_format.o ./src/data/sparse_page_dmatrix.o ./src/data/proxy_dmatrix.o ./src/data/iterative_dmatrix.o ./src/predictor/predictor.o ./src/predictor/cpu_predictor.o ./src/tree/constraints.o ./src/tree/param.o ./src/tree/tree_model.o ./src/tree/tree_updater.o ./src/tree/updater_approx.o ./src/tree/updater_colmaker.o ./src/tree/updater_prune.o ./src/tree/updater_quantile_hist.o ./src/tree/updater_refresh.o ./src/tree/updater_sync.o ./src/linear/linear_updater.o ./src/linear/updater_coordinate.o ./src/linear/updater_shotgun.o ./src/learner.o ./src/logging.o ./src/global_config.o ./src/collective/communicator.o ./src/collective/socket.o ./src/common/charconv.o ./src/common/column_matrix.o ./src/common/common.o ./src/common/hist_util.o ./src/common/host_device_vector.o ./src/common/io.o ./src/common/json.o ./src/common/numeric.o ./src/common/pseudo_huber.o ./src/common/quantile.o ./src/common/random.o ./src/common/survival_util.o ./src/common/threading_utils.o ./src/common/timer.o ./src/common/version.o ./src/c_api/c_api.o ./src/c_api/c_api_error.o ./amalgamation/dmlc-minimum0.o ./rabit/src/engine.o ./rabit/src/rabit_c_api.o ./rabit/src/allreduce_base.o -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -lwsock32 -lws2_32 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2025_10_14_01_50_00_4128/Rtmp0Q0fsd/R.INSTALL44c84c562b9/xgboost/src'
make[1]: Entering directory '/d/temp/2025_10_14_01_50_00_4128/Rtmp0Q0fsd/R.INSTALL44c84c562b9/xgboost/src'
Makevars.win:17: -DXGBOOST_STRICT_R_MODE=1
Makevars.win:17: -DDMLC_LOG_BEFORE_THROW=0
Makevars.win:17: -DDMLC_ENABLE_STD_THREAD=0
Makevars.win:17: -DDMLC_DISABLE_STDIN=1
Makevars.win:17: -DDMLC_LOG_CUSTOMIZE=1
Makevars.win:17: -DXGBOOST_CUSTOMIZE_LOGGER=1
Makevars.win:17: -DRABIT_CUSTOMIZE_MSG_
make[1]: Leaving directory '/d/temp/2025_10_14_01_50_00_4128/Rtmp0Q0fsd/R.INSTALL44c84c562b9/xgboost/src'
installing to d:/Rcompile/CRANpkg/lib/4.6/00LOCK-xgboost/00new/xgboost/libs/x64
** R
** data
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'xgboost' as xgboost_1.7.11.1.zip
* DONE (xgboost)