* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘xgboost’ ...
** this is package ‘xgboost’ version ‘1.7.11.1’
** package ‘xgboost’ successfully unpacked and MD5 sums checked
** using staged installation
configure: Checking if/where backtrace is available
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether g++-14 -std=gnu++17 accepts -g... yes
checking for g++-14 -std=gnu++17 option to enable C++11 features... none needed
checking for backtrace in -lexecinfo... no
checking for backtrace... yes
configure: Checking whether fopen64 is available
checking for fopen64... yes
configure: Endian detection
checking endian...
configure: creating ./config.status
config.status: creating src/Makevars
** libs
Makevars:22: -DXGBOOST_STRICT_R_MODE=1
Makevars:22: -DDMLC_LOG_BEFORE_THROW=0
Makevars:22: -DDMLC_ENABLE_STD_THREAD=1
Makevars:22: -DDMLC_DISABLE_STDIN=1
Makevars:22: -DDMLC_LOG_CUSTOMIZE=1
Makevars:22: -DXGBOOST_CUSTOMIZE_LOGGER=1
Makevars:22: -DRABIT_CUSTOMIZE_MSG_
using C compiler: ‘gcc-14 (Debian 14.3.0-10) 14.3.0’
using C++ compiler: ‘g++-14 (Debian 14.3.0-10) 14.3.0’
using C++17
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpJDnLgA/R.INSTALL8661b3bb8a52b/xgboost/src'
Makevars:22: -DXGBOOST_STRICT_R_MODE=1
Makevars:22: -DDMLC_LOG_BEFORE_THROW=0
Makevars:22: -DDMLC_ENABLE_STD_THREAD=1
Makevars:22: -DDMLC_DISABLE_STDIN=1
Makevars:22: -DDMLC_LOG_CUSTOMIZE=1
Makevars:22: -DXGBOOST_CUSTOMIZE_LOGGER=1
Makevars:22: -DRABIT_CUSTOMIZE_MSG_
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c xgboost_custom.cc -o xgboost_custom.o
In file included from ./dmlc-core/include/../../src/common/../collective/communicator.h:5,
from ./dmlc-core/include/../../src/common/../collective/communicator-inl.h:7,
from ./dmlc-core/include/../../src/common/random.h:22,
from xgboost_custom.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 {
| ^~~~~~~~~~~
gcc-14 -std=gnu23 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c init.c -o init.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/metric/metric.cc -o src/metric/metric.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/metric.h:13,
from src/metric/metric.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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/metric/elementwise_metric.cc -o src/metric/elementwise_metric.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/metric.h:13,
from src/metric/elementwise_metric.cu:10,
from src/metric/elementwise_metric.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 {
| ^~~~~~~~~~~
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from src/metric/elementwise_metric.cu:9:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/elementwise_metric.cu: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 unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/metric/multiclass_metric.cc -o src/metric/multiclass_metric.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/metric.h:13,
from src/metric/multiclass_metric.cu:7,
from src/metric/multiclass_metric.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 {
| ^~~~~~~~~~~
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from ./include/xgboost/metric.h:10:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/metric/rank_metric.cc -o src/metric/rank_metric.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/metric.h:13,
from src/metric/rank_metric.cc:24:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/metric/auc.cc -o src/metric/auc.o
In file included 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:
./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 ./include/xgboost/logging.h:11,
from ./include/xgboost/json.h:8:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/auc.cc: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 unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/auc.cc: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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/metric/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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/metric/survival_metric.cc -o src/metric/survival_metric.o
In file included from src/metric/survival_metric.cu:13,
from src/metric/survival_metric.cc:10:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/objective.cc -o src/objective/objective.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/objective.h:12,
from src/objective/objective.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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/regression_obj.cc -o src/objective/regression_obj.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/objective.h:12,
from src/objective/regression_obj.cu:9,
from src/objective/regression_obj.cc:17:
./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/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 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 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:
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 unsigned int, long unsigned int> >((* & t), xgboost::linalg::UnravelIndex(size_t, xgboost::common::Span<const long unsigned int, D>) [with long unsigned int D = 2; size_t = 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 unsigned int, long unsigned int> >((* & t), xgboost::linalg::UnravelIndex(size_t, xgboost::common::Span<const long unsigned int, D>) [with long unsigned int D = 2; size_t = 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/multiclass_obj.cc -o src/objective/multiclass_obj.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/objective/multiclass_obj.cu:15,
from src/objective/multiclass_obj.cc:17:
./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/registry.h:13,
from src/objective/multiclass_obj.cc:7:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = 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 unsigned int’ and ‘const long int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/rank_obj.cc -o src/objective/rank_obj.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/objective.h:12,
from src/objective/rank_obj.cu:7,
from src/objective/rank_obj.cc:16:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/hinge.cc -o src/objective/hinge.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/objective.h:12,
from src/objective/hinge.cu:7,
from src/objective/hinge.cc:17:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/aft_obj.cc -o src/objective/aft_obj.o
In file included from src/objective/aft_obj.cu:14,
from src/objective/aft_obj.cc:20:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/objective/adaptive.cc -o src/objective/adaptive.o
In file included 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:
./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 ./include/xgboost/logging.h:11,
from ./include/xgboost/json.h:8:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/objective/../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 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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
198 | DEFINE_CHECK_FUNC(_GT, >)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long int; Y = long unsigned int]’:
src/objective/adaptive.cc: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 int’ and ‘const long unsigned int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/gbm/gbm.cc -o src/gbm/gbm.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/gbm.h:14,
from src/gbm/gbm.cc:11:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/gbm/gbtree.cc -o src/gbm/gbtree.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/gbm/gbtree.h:21,
from src/gbm/gbtree.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 {
| ^~~~~~~~~~~
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_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 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 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/gbm/gbtree_model.cc -o src/gbm/gbtree_model.o
In file included from src/gbm/gbtree_model.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 {
| ^~~~~~~~~~~
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/json.h:8:
./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 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 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/gbm/gblinear.cc -o src/gbm/gblinear.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/gbm.h:14,
from src/gbm/gblinear.cc:17:
./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/./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/gbm/gblinear_model.cc -o src/gbm/gblinear_model.o
In file included from src/gbm/gblinear_model.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 {
| ^~~~~~~~~~~
./include/xgboost/json.h: In instantiation of ‘class xgboost::JsonTypedArray<float, xgboost::Value::ValueKind::kNumberArray>’:
src/gbm/gblinear_model.cc:17:12: required from here
17 | F32Array j_weights{n_weights};
| ^~~~~~~~~
./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:148:7: note: by ‘xgboost::JsonTypedArray<float, xgboost::Value::ValueKind::kNumberArray>& xgboost::JsonTypedArray<float, xgboost::Value::ValueKind::kNumberArray>::operator=(const xgboost::JsonTypedArray<float, xgboost::Value::ValueKind::kNumberArray>&)’
148 | class JsonTypedArray : public Value {
| ^~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/simple_dmatrix.cc -o src/data/simple_dmatrix.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/data/simple_dmatrix.cc:12:
./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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/data.cc -o src/data/data.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/data/data.cc:5:
./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_EQ(const X&, const Y&) [with X = 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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/./../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 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 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 unsigned int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/data.cc: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 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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
198 | DEFINE_CHECK_FUNC(_GT, >)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long int; Y = long unsigned int]’:
src/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 int’ and ‘const long unsigned int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/sparse_page_raw_format.cc -o src/data/sparse_page_raw_format.o
In file included from ./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/ellpack_page.cc -o src/data/ellpack_page.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/data/ellpack_page.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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/gradient_index.cc -o src/data/gradient_index.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/data/../common/categorical.h:12,
from src/data/gradient_index.h:14,
from src/data/gradient_index.cc:5:
./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 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:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/quantile.h: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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/gradient_index_page_source.cc -o src/data/gradient_index_page_source.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/data/../common/categorical.h:12,
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:
./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 ./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:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/quantile.h: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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/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 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 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 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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
198 | DEFINE_CHECK_FUNC(_GT, >)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long int; Y = long unsigned int]’:
src/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 int’ and ‘const long unsigned int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h: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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/gradient_index_format.cc -o src/data/gradient_index_format.o
In file included from ./include/xgboost/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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../common/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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/sparse_page_dmatrix.cc -o src/data/sparse_page_dmatrix.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/data/./sparse_page_dmatrix.h:10,
from src/data/sparse_page_dmatrix.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 {
| ^~~~~~~~~~~
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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/./../common/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 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 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 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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
198 | DEFINE_CHECK_FUNC(_GT, >)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long int; Y = long unsigned int]’:
src/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 int’ and ‘const long unsigned int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/./array_interface.h: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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/proxy_dmatrix.cc -o src/data/proxy_dmatrix.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/data/proxy_dmatrix.h:13,
from src/data/proxy_dmatrix.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 {
| ^~~~~~~~~~~
In file included from ./dmlc-core/include/dmlc/any.h:17,
from src/data/proxy_dmatrix.h:7:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/data/iterative_dmatrix.cc -o src/data/iterative_dmatrix.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/data/proxy_dmatrix.h:13,
from src/data/iterative_dmatrix.h:13,
from src/data/iterative_dmatrix.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/any.h:17,
from src/data/proxy_dmatrix.h:7:
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/../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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/data/array_interface.h: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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/predictor/predictor.cc -o src/predictor/predictor.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/predictor.h:9,
from src/predictor/predictor.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 {
| ^~~~~~~~~~~
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 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 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/predictor/cpu_predictor.cc -o src/predictor/cpu_predictor.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/predictor/../common/categorical.h:12,
from src/predictor/cpu_predictor.cc:11:
./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/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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/predictor/../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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/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 unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/constraints.cc -o src/tree/constraints.o
In file included from src/tree/constraints.cc:9:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/tree_model.cc -o src/tree/tree_model.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/tree_model.h:14,
from src/tree/tree_model.cc:9:
./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 {
| ^~~~~~~~~~~
./include/xgboost/json.h: In instantiation of ‘class xgboost::JsonTypedArray<long int, xgboost::Value::ValueKind::kI64Array>’:
src/tree/tree_model.cc:988:12: required from here
988 | I64Array categories_segments;
| ^~~~~~~~~~~~~~~~~~~
./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:148:7: note: by ‘xgboost::JsonTypedArray<long int, xgboost::Value::ValueKind::kI64Array>& xgboost::JsonTypedArray<long int, xgboost::Value::ValueKind::kI64Array>::operator=(const xgboost::JsonTypedArray<long int, xgboost::Value::ValueKind::kI64Array>&)’
148 | class JsonTypedArray : public Value {
| ^~~~~~~~~~~~~~
./include/xgboost/json.h: In instantiation of ‘class xgboost::JsonTypedArray<int, xgboost::Value::ValueKind::kI32Array>’:
src/tree/tree_model.cc:990:12: required from here
990 | I32Array categories; // bst_cat_t = int32_t
| ^~~~~~~~~~
./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:148:7: note: by ‘xgboost::JsonTypedArray<int, xgboost::Value::ValueKind::kI32Array>& xgboost::JsonTypedArray<int, xgboost::Value::ValueKind::kI32Array>::operator=(const xgboost::JsonTypedArray<int, xgboost::Value::ValueKind::kI32Array>&)’
148 | class JsonTypedArray : public Value {
| ^~~~~~~~~~~~~~
./include/xgboost/json.h: In instantiation of ‘class xgboost::JsonTypedArray<float, xgboost::Value::ValueKind::kNumberArray>’:
src/tree/tree_model.cc:1155:32: required from here
1155 | F32Array loss_changes(n_nodes);
| ^
./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:148:7: note: by ‘xgboost::JsonTypedArray<float, xgboost::Value::ValueKind::kNumberArray>& xgboost::JsonTypedArray<float, xgboost::Value::ValueKind::kNumberArray>::operator=(const xgboost::JsonTypedArray<float, xgboost::Value::ValueKind::kNumberArray>&)’
148 | class JsonTypedArray : public Value {
| ^~~~~~~~~~~~~~
./include/xgboost/json.h: In instantiation of ‘class xgboost::JsonTypedArray<unsigned char, xgboost::Value::ValueKind::kU8Array>’:
src/tree/tree_model.cc:1166:31: required from here
1166 | U8Array default_left(n_nodes);
| ^
./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:148:7: note: by ‘xgboost::JsonTypedArray<unsigned char, xgboost::Value::ValueKind::kU8Array>& xgboost::JsonTypedArray<unsigned char, xgboost::Value::ValueKind::kU8Array>::operator=(const xgboost::JsonTypedArray<unsigned char, xgboost::Value::ValueKind::kU8Array>&)’
148 | class JsonTypedArray : public Value {
| ^~~~~~~~~~~~~~
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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/tree/tree_model.cc: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 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 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 int, xgboost::Value::ValueKind::kI64Array>; IndexArrayT = const JsonTypedArray<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 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/tree_updater.cc -o src/tree/tree_updater.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/tree_updater.h:13,
from src/tree/tree_updater.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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/updater_approx.cc -o src/tree/updater_approx.o
In file included from src/tree/../common/../collective/communicator.h:5,
from src/tree/../common/../collective/communicator-inl.h:7,
from src/tree/../common/random.h:22,
from src/tree/updater_approx.cc:10:
./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 ./include/xgboost/logging.h:11,
from src/tree/../common/random.h: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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/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 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 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 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 unsigned int BlockSize = 2048; size_t = 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 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 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 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 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 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 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 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 unsigned int BlockSize = 2048; size_t = 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 unsigned int BlockSize = 2048; size_t = 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 unsigned int BlockSize = 2048; size_t = 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 unsigned int BlockSize = 2048; size_t = 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 unsigned int BlockSize = 2048; size_t = 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/updater_colmaker.cc -o src/tree/updater_colmaker.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/tree_updater.h:13,
from src/tree/updater_colmaker.cc:12:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/updater_prune.cc -o src/tree/updater_prune.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/tree_updater.h:13,
from src/tree/updater_prune.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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/updater_quantile_hist.cc -o src/tree/updater_quantile_hist.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/tree_updater.h:13,
from src/tree/./updater_quantile_hist.h:10,
from src/tree/updater_quantile_hist.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 {
| ^~~~~~~~~~~
In file included from ./dmlc-core/include/dmlc/registry.h:13,
from ./include/xgboost/tree_updater.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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/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 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 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 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 unsigned int BlockSize = 2048; size_t = 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 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 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 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 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 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 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 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 unsigned int BlockSize = 2048; size_t = 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 unsigned int BlockSize = 2048; size_t = 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 unsigned int BlockSize = 2048; size_t = 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 unsigned int BlockSize = 2048; size_t = 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 unsigned int BlockSize = 2048; size_t = 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/updater_refresh.cc -o src/tree/updater_refresh.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/tree_updater.h:13,
from src/tree/updater_refresh.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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/tree/updater_sync.cc -o src/tree/updater_sync.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/tree_updater.h:13,
from src/tree/updater_sync.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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/linear/linear_updater.cc -o src/linear/linear_updater.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/linear_updater.h:8,
from src/linear/linear_updater.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 {
| ^~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/linear/updater_coordinate.cc -o src/linear/updater_coordinate.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/linear_updater.h:8,
from src/linear/updater_coordinate.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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/linear/updater_shotgun.cc -o src/linear/updater_shotgun.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/linear_updater.h:8,
from src/linear/updater_shotgun.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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/learner.cc -o src/learner.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from ./include/xgboost/predictor.h:9,
from ./include/xgboost/learner.h:16,
from src/learner.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 {
| ^~~~~~~~~~~
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/feature_map.h:10,
from ./include/xgboost/learner.h:12:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/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 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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/logging.cc -o src/logging.o
In file included from src/collective/communicator.h:5,
from src/collective/communicator-inl.h:7,
from src/logging.cc:12:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/global_config.cc -o src/global_config.o
In file included from src/global_config.cc:10:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/collective/communicator.cc -o src/collective/communicator.o
In file included from src/collective/communicator.h:5,
from src/collective/communicator.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 {
| ^~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/collective/socket.cc -o src/collective/socket.o
In file included from src/collective/socket.cc:4:
./include/xgboost/collective/socket.h:65:22: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
65 | #if xgboost_IS_MINGW()
| ^
./include/xgboost/collective/socket.h:147:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
147 | #if defined(_WIN32) && xgboost_IS_MINGW()
| ^
./include/xgboost/collective/socket.h:511:22: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
511 | #if xgboost_IS_MINGW()
| ^
In file included from ./include/xgboost/logging.h:11,
from ./include/xgboost/collective/socket.h:56:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/collective/socket.cc: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 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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/charconv.cc -o src/common/charconv.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/column_matrix.cc -o src/common/column_matrix.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/common/../data/adapter.h:21,
from src/common/column_matrix.h:19,
from src/common/column_matrix.cc:5:
./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 src/common/../data/adapter.h:7:
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../data/../common/quantile.h: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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../data/array_interface.h: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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/common.cc -o src/common/common.o
In file included from src/common/./../collective/communicator.h:5,
from src/common/./../collective/communicator-inl.h:7,
from src/common/./random.h:22,
from src/common/common.cc:10:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/hist_util.cc -o src/common/hist_util.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/common/hist_util.h:10,
from src/common/hist_util.cc:11:
./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/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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/./logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../data/array_interface.h: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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/./logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/host_device_vector.cc -o src/common/host_device_vector.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/common/host_device_vector.cc:9:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/io.cc -o src/common/io.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/json.cc -o src/common/json.o
In file included from src/common/json.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 {
| ^~~~~~~~~~~
./include/xgboost/json.h: In instantiation of ‘class xgboost::JsonTypedArray<float, xgboost::Value::ValueKind::kNumberArray>’:
src/common/json.cc:287:16: required from here
287 | template class JsonTypedArray<float, Value::ValueKind::kNumberArray>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./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:148:7: note: by ‘xgboost::JsonTypedArray<float, xgboost::Value::ValueKind::kNumberArray>& xgboost::JsonTypedArray<float, xgboost::Value::ValueKind::kNumberArray>::operator=(const xgboost::JsonTypedArray<float, xgboost::Value::ValueKind::kNumberArray>&)’
148 | class JsonTypedArray : public Value {
| ^~~~~~~~~~~~~~
./include/xgboost/json.h: In instantiation of ‘class xgboost::JsonTypedArray<unsigned char, xgboost::Value::ValueKind::kU8Array>’:
src/common/json.cc:288:16: required from here
288 | template class JsonTypedArray<uint8_t, Value::ValueKind::kU8Array>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./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:148:7: note: by ‘xgboost::JsonTypedArray<unsigned char, xgboost::Value::ValueKind::kU8Array>& xgboost::JsonTypedArray<unsigned char, xgboost::Value::ValueKind::kU8Array>::operator=(const xgboost::JsonTypedArray<unsigned char, xgboost::Value::ValueKind::kU8Array>&)’
148 | class JsonTypedArray : public Value {
| ^~~~~~~~~~~~~~
./include/xgboost/json.h: In instantiation of ‘class xgboost::JsonTypedArray<int, xgboost::Value::ValueKind::kI32Array>’:
src/common/json.cc:289:16: required from here
289 | template class JsonTypedArray<int32_t, Value::ValueKind::kI32Array>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./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:148:7: note: by ‘xgboost::JsonTypedArray<int, xgboost::Value::ValueKind::kI32Array>& xgboost::JsonTypedArray<int, xgboost::Value::ValueKind::kI32Array>::operator=(const xgboost::JsonTypedArray<int, xgboost::Value::ValueKind::kI32Array>&)’
148 | class JsonTypedArray : public Value {
| ^~~~~~~~~~~~~~
./include/xgboost/json.h: In instantiation of ‘class xgboost::JsonTypedArray<long int, xgboost::Value::ValueKind::kI64Array>’:
src/common/json.cc:290:16: required from here
290 | template class JsonTypedArray<int64_t, Value::ValueKind::kI64Array>;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./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:148:7: note: by ‘xgboost::JsonTypedArray<long int, xgboost::Value::ValueKind::kI64Array>& xgboost::JsonTypedArray<long int, xgboost::Value::ValueKind::kI64Array>::operator=(const xgboost::JsonTypedArray<long int, xgboost::Value::ValueKind::kI64Array>&)’
148 | class JsonTypedArray : public Value {
| ^~~~~~~~~~~~~~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/numeric.cc -o src/common/numeric.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/pseudo_huber.cc -o src/common/pseudo_huber.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_EQ(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../data/array_interface.h: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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_NE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/quantile.cc:28:3: required from ‘xgboost::common::SketchContainerImpl<WQSketch>::SketchContainerImpl(std::vector<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 unsigned int’ and ‘const int’ [-Wsign-compare]
202 | DEFINE_CHECK_FUNC(_NE, !=)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/../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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/random.cc -o src/common/random.o
In file included from src/common/../collective/communicator.h:5,
from src/common/../collective/communicator-inl.h:7,
from src/common/random.h:22,
from src/common/random.cc:5:
./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 ./include/xgboost/logging.h:11,
from src/common/random.h:10:
./dmlc-core/include/dmlc/logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/common/random.cc: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 unsigned int’ and ‘const int’ [-Wsign-compare]
198 | DEFINE_CHECK_FUNC(_GT, >)
| ^
./dmlc-core/include/dmlc/logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/survival_util.cc -o src/common/survival_util.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/threading_utils.cc -o src/common/threading_utils.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/timer.cc -o src/common/timer.o
In file included from src/common/../collective/communicator.h:5,
from src/common/../collective/communicator-inl.h:7,
from src/common/timer.cc:9:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/common/version.cc -o src/common/version.o
In file included from src/common/version.cc:11:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/c_api/c_api.cc -o src/c_api/c_api.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/c_api/c_api.cc:11:
./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_EQ(const X&, const Y&) [with X = 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 unsigned int’ and ‘const int’ [-Wsign-compare]
201 | DEFINE_CHECK_FUNC(_EQ, ==)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_GE(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/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 unsigned int’ and ‘const int’ [-Wsign-compare]
200 | DEFINE_CHECK_FUNC(_GE, >=)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
./dmlc-core/include/dmlc/././logging.h: In instantiation of ‘std::unique_ptr<std::__cxx11::basic_string<char> > dmlc::LogCheck_LT(const X&, const Y&) [with X = long unsigned int; Y = int]’:
src/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 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 unsigned int’ and ‘const int’ [-Wsign-compare]
197 | DEFINE_CHECK_FUNC(_LT, <)
| ^
./dmlc-core/include/dmlc/././logging.h:188:11: note: in definition of macro ‘DEFINE_CHECK_FUNC’
188 | if (x op y) return nullptr; \
| ^~
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c src/c_api/c_api_error.cc -o src/c_api/c_api_error.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from src/c_api/./c_api_utils.h:14,
from src/c_api/./c_api_error.h:12,
from src/c_api/c_api_error.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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c amalgamation/dmlc-minimum0.cc -o amalgamation/dmlc-minimum0.o
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c rabit/src/engine.cc -o rabit/src/engine.o
In file included from ./rabit/include/rabit/internal/socket.h:8,
from rabit/src/allreduce_base.h:22,
from rabit/src/engine.cc:14:
./include/xgboost/collective/socket.h:65:22: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
65 | #if xgboost_IS_MINGW()
| ^
./include/xgboost/collective/socket.h:147:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
147 | #if defined(_WIN32) && xgboost_IS_MINGW()
| ^
./include/xgboost/collective/socket.h:511:22: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
511 | #if xgboost_IS_MINGW()
| ^
./rabit/include/rabit/internal/socket.h:46:14: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
46 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
| ^
./rabit/include/rabit/internal/socket.h:190:14: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
190 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
| ^
g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c rabit/src/rabit_c_api.cc -o rabit/src/rabit_c_api.o
In file included from ./include/xgboost/linalg.h:13,
from ./include/xgboost/data.h:16,
from rabit/src/../../src/c_api/c_api_utils.h:14,
from rabit/src/../../src/c_api/c_api_error.h:12,
from rabit/src/rabit_c_api.cc:9:
./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++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG -I./include -I./dmlc-core/include -I./rabit/include -I. -DXGBOOST_STRICT_R_MODE=1 -DDMLC_LOG_BEFORE_THROW=0 -DDMLC_ENABLE_STD_THREAD=1 -DDMLC_DISABLE_STDIN=1 -DDMLC_LOG_CUSTOMIZE=1 -DXGBOOST_CUSTOMIZE_LOGGER=1 -DRABIT_CUSTOMIZE_MSG_ -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -fvisibility=hidden -fpic -g -O2 -Wall -pedantic -mtune=native -c rabit/src/allreduce_base.cc -o rabit/src/allreduce_base.o
In file included from ./rabit/include/rabit/internal/socket.h:8,
from rabit/src/allreduce_base.h:22,
from rabit/src/allreduce_base.cc:14:
./include/xgboost/collective/socket.h:65:22: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
65 | #if xgboost_IS_MINGW()
| ^
./include/xgboost/collective/socket.h:147:41: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
147 | #if defined(_WIN32) && xgboost_IS_MINGW()
| ^
./include/xgboost/collective/socket.h:511:22: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
511 | #if xgboost_IS_MINGW()
| ^
./rabit/include/rabit/internal/socket.h:46:14: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
46 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
| ^
./rabit/include/rabit/internal/socket.h:190:14: warning: this use of "defined" may not be portable [-Wexpansion-to-defined]
190 | #if IS_MINGW() && !defined(POLLRDNORM) && !defined(POLLRDBAND)
| ^
g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o xgboost.so ./xgboost_R.o ./xgboost_custom.o ./init.o ./src/metric/metric.o ./src/metric/elementwise_metric.o ./src/metric/multiclass_metric.o ./src/metric/rank_metric.o ./src/metric/auc.o ./src/metric/survival_metric.o ./src/objective/objective.o ./src/objective/regression_obj.o ./src/objective/multiclass_obj.o ./src/objective/rank_obj.o ./src/objective/hinge.o ./src/objective/aft_obj.o ./src/objective/adaptive.o ./src/gbm/gbm.o ./src/gbm/gbtree.o ./src/gbm/gbtree_model.o ./src/gbm/gblinear.o ./src/gbm/gblinear_model.o ./src/data/simple_dmatrix.o ./src/data/data.o ./src/data/sparse_page_raw_format.o ./src/data/ellpack_page.o ./src/data/gradient_index.o ./src/data/gradient_index_page_source.o ./src/data/gradient_index_format.o ./src/data/sparse_page_dmatrix.o ./src/data/proxy_dmatrix.o ./src/data/iterative_dmatrix.o ./src/predictor/predictor.o ./src/predictor/cpu_predictor.o ./src/tree/constraints.o ./src/tree/param.o ./src/tree/tree_model.o ./src/tree/tree_updater.o ./src/tree/updater_approx.o ./src/tree/updater_colmaker.o ./src/tree/updater_prune.o ./src/tree/updater_quantile_hist.o ./src/tree/updater_refresh.o ./src/tree/updater_sync.o ./src/linear/linear_updater.o ./src/linear/updater_coordinate.o ./src/linear/updater_shotgun.o ./src/learner.o ./src/logging.o ./src/global_config.o ./src/collective/communicator.o ./src/collective/socket.o ./src/common/charconv.o ./src/common/column_matrix.o ./src/common/common.o ./src/common/hist_util.o ./src/common/host_device_vector.o ./src/common/io.o ./src/common/json.o ./src/common/numeric.o ./src/common/pseudo_huber.o ./src/common/quantile.o ./src/common/random.o ./src/common/survival_util.o ./src/common/threading_utils.o ./src/common/timer.o ./src/common/version.o ./src/c_api/c_api.o ./src/c_api/c_api_error.o ./amalgamation/dmlc-minimum0.o ./rabit/src/engine.o ./rabit/src/rabit_c_api.o ./rabit/src/allreduce_base.o -fopenmp -DDMLC_CMAKE_LITTLE_ENDIAN=1 -pthread -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpJDnLgA/R.INSTALL8661b3bb8a52b/xgboost/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpJDnLgA/R.INSTALL8661b3bb8a52b/xgboost/src'
Makevars:22: -DXGBOOST_STRICT_R_MODE=1
Makevars:22: -DDMLC_LOG_BEFORE_THROW=0
Makevars:22: -DDMLC_ENABLE_STD_THREAD=1
Makevars:22: -DDMLC_DISABLE_STDIN=1
Makevars:22: -DDMLC_LOG_CUSTOMIZE=1
Makevars:22: -DXGBOOST_CUSTOMIZE_LOGGER=1
Makevars:22: -DRABIT_CUSTOMIZE_MSG_
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpJDnLgA/R.INSTALL8661b3bb8a52b/xgboost/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-xgboost/00new/xgboost/libs
** R
** data
** demo
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
converting help for package ‘xgboost’
finding HTML links ... done
a-compatibility-note-for-saveRDS-save html
agaricus.test html
agaricus.train html
callbacks html
cb.cv.predict html
cb.early.stop html
cb.evaluation.log html
cb.gblinear.history html
cb.print.evaluation html
cb.reset.parameters html
cb.save.model html
dim.xgb.DMatrix html
dimnames.xgb.DMatrix html
getinfo html
normalize html
predict.xgb.Booster html
prepare.ggplot.shap.data html
print.xgb.Booster html
print.xgb.DMatrix html
print.xgb.cv html
setinfo html
slice.xgb.DMatrix html
xgb.Booster.complete html
xgb.DMatrix html
xgb.DMatrix.save html
xgb.attr html
xgb.config html
xgb.create.features html
xgb.cv html
xgb.dump html
xgb.gblinear.history html
xgb.importance html
xgb.load html
xgb.load.raw html
xgb.model.dt.tree html
xgb.parameters html
xgb.plot.deepness html
xgb.plot.importance html
xgb.plot.multi.trees html
xgb.plot.shap html
xgb.plot.shap.summary html
xgb.plot.tree html
xgb.save html
xgb.save.raw html
xgb.serialize html
xgb.shap.data html
xgb.train html
xgb.unserialize html
xgbConfig html
xgboost-deprecated html
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (xgboost)