* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’ * installing *source* package ‘gpboost’ ... ** package ‘gpboost’ successfully unpacked and MD5 sums checked ** using staged installation checking location of R... /home/hornik/tmp/R.check/r-devel-clang/Work/build checking whether MM_PREFETCH works... yes checking whether MM_MALLOC works... yes configure: creating ./config.status config.status: creating src/Makevars ** libs using C compiler: ‘Debian clang version 19.1.5 (1)’ using C++ compiler: ‘Debian clang version 19.1.5 (1)’ using C++17 make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp9IeVm0/R.INSTALL32a8ed6313d5ff/gpboost/src' clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c boosting/boosting.cpp -o boosting/boosting.o In file included from boosting/boosting.cpp:5: In file included from ./include/LightGBM/boosting.h:8: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ In file included from boosting/boosting.cpp:7: In file included from boosting/dart.hpp:16: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from boosting/boosting.cpp:7: In file included from boosting/dart.hpp:16: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from boosting/boosting.cpp:7: In file included from boosting/dart.hpp:16: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1815:11: warning: unused variable 'dist_ij' [-Wunused-variable] 1815 | double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); | ^~~~~~~ 5 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c boosting/gbdt.cpp -o boosting/gbdt.o In file included from boosting/gbdt.cpp:6: In file included from boosting/gbdt.h:9: In file included from ./include/LightGBM/boosting.h:8: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ In file included from boosting/gbdt.cpp:6: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from boosting/gbdt.cpp:6: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from boosting/gbdt.cpp:6: In file included from boosting/gbdt.h:10: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1815:11: warning: unused variable 'dist_ij' [-Wunused-variable] 1815 | double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); | ^~~~~~~ 5 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c boosting/gbdt_model_text.cpp -o boosting/gbdt_model_text.o In file included from boosting/gbdt_model_text.cpp:5: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ In file included from boosting/gbdt_model_text.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from boosting/gbdt_model_text.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from boosting/gbdt_model_text.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1815:11: warning: unused variable 'dist_ij' [-Wunused-variable] 1815 | double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); | ^~~~~~~ 5 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c boosting/gbdt_prediction.cpp -o boosting/gbdt_prediction.o In file included from boosting/gbdt_prediction.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from boosting/gbdt_prediction.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from boosting/gbdt_prediction.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: In file included from ./include/GPBoost/cov_fcts.h:14: In file included from ./include/GPBoost/sparse_matrix_utils.h:13: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ In file included from boosting/gbdt_prediction.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1815:11: warning: unused variable 'dist_ij' [-Wunused-variable] 1815 | double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); | ^~~~~~~ 5 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c boosting/prediction_early_stop.cpp -o boosting/prediction_early_stop.o In file included from boosting/prediction_early_stop.cpp:7: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c io/bin.cpp -o io/bin.o In file included from io/bin.cpp:5: In file included from ./include/LightGBM/bin.h:9: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ io/bin.cpp:164:9: warning: variable 'left_cnt_data' set but not used [-Wunused-but-set-variable] 164 | int left_cnt_data = 0; | ^ io/bin.cpp:165:9: warning: variable 'cnt_zero' set but not used [-Wunused-but-set-variable] 165 | int cnt_zero = 0; | ^ io/bin.cpp:166:9: warning: variable 'right_cnt_data' set but not used [-Wunused-but-set-variable] 166 | int right_cnt_data = 0; | ^ 4 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c io/config.cpp -o io/config.o In file included from io/config.cpp:6: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c io/config_auto.cpp -o io/config_auto.o In file included from io/config_auto.cpp:9: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c io/dataset.cpp -o io/dataset.o In file included from io/dataset.cpp:6: In file included from ./include/LightGBM/dataset.h:8: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c io/dataset_loader.cpp -o io/dataset_loader.o In file included from io/dataset_loader.cpp:5: In file included from ./include/LightGBM/dataset_loader.h:8: In file included from ./include/LightGBM/dataset.h:8: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c io/file_io.cpp -o io/file_io.o In file included from io/file_io.cpp:8: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c io/json11.cpp -o io/json11.o In file included from io/json11.cpp:23: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c io/metadata.cpp -o io/metadata.o In file included from io/metadata.cpp:6: In file included from ./include/LightGBM/dataset.h:8: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c io/parser.cpp -o io/parser.o In file included from io/parser.cpp:5: In file included from io/parser.hpp:8: In file included from ./include/LightGBM/dataset.h:8: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c io/train_share_states.cpp -o io/train_share_states.o In file included from io/train_share_states.cpp:7: In file included from ./include/LightGBM/train_share_states.h:8: In file included from ./include/LightGBM/bin.h:9: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c io/tree.cpp -o io/tree.o In file included from io/tree.cpp:5: In file included from ./include/LightGBM/tree.h:8: In file included from ./include/LightGBM/dataset.h:8: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c metric/dcg_calculator.cpp -o metric/dcg_calculator.o In file included from metric/dcg_calculator.cpp:5: In file included from ./include/LightGBM/metric.h:9: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ In file included from metric/dcg_calculator.cpp:5: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from metric/dcg_calculator.cpp:5: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from metric/dcg_calculator.cpp:5: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1815:11: warning: unused variable 'dist_ij' [-Wunused-variable] 1815 | double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); | ^~~~~~~ 5 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c metric/metric.cpp -o metric/metric.o In file included from metric/metric.cpp:6: In file included from ./include/LightGBM/metric.h:9: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ In file included from metric/metric.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from metric/metric.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from metric/metric.cpp:6: In file included from ./include/LightGBM/metric.h:12: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1815:11: warning: unused variable 'dist_ij' [-Wunused-variable] 1815 | double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); | ^~~~~~~ 5 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c objective/objective_function.cpp -o objective/objective_function.o In file included from objective/objective_function.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from objective/objective_function.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from objective/objective_function.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: In file included from ./include/GPBoost/cov_fcts.h:14: In file included from ./include/GPBoost/sparse_matrix_utils.h:13: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ In file included from objective/objective_function.cpp:6: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1815:11: warning: unused variable 'dist_ij' [-Wunused-variable] 1815 | double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); | ^~~~~~~ In file included from objective/objective_function.cpp:8: objective/binary_objective.hpp:215:14: warning: private field 'deterministic_' is not used [-Wunused-private-field] 215 | const bool deterministic_; | ^ In file included from objective/objective_function.cpp:12: objective/xentropy_objective.hpp:153:14: warning: private field 'deterministic_' is not used [-Wunused-private-field] 153 | const bool deterministic_; | ^ objective/xentropy_objective.hpp:291:14: warning: private field 'deterministic_' is not used [-Wunused-private-field] 291 | const bool deterministic_; | ^ 8 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c network/ifaddrs_patch.cpp -o network/ifaddrs_patch.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c network/linker_topo.cpp -o network/linker_topo.o In file included from network/linker_topo.cpp:5: In file included from ./include/LightGBM/network.h:8: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c network/linkers_mpi.cpp -o network/linkers_mpi.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c network/linkers_socket.cpp -o network/linkers_socket.o In file included from network/linkers_socket.cpp:7: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ network/linkers_socket.cpp:174:7: warning: variable 'need_connect_cnt' set but not used [-Wunused-but-set-variable] 174 | int need_connect_cnt = 0; | ^ 2 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c network/network.cpp -o network/network.o In file included from network/network.cpp:5: In file included from ./include/LightGBM/network.h:8: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c treelearner/data_parallel_tree_learner.cpp -o treelearner/data_parallel_tree_learner.o In file included from treelearner/data_parallel_tree_learner.cpp:9: In file included from treelearner/parallel_tree_learner.h:8: In file included from ./include/LightGBM/network.h:8: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c treelearner/feature_parallel_tree_learner.cpp -o treelearner/feature_parallel_tree_learner.o In file included from treelearner/feature_parallel_tree_learner.cpp:8: In file included from treelearner/parallel_tree_learner.h:8: In file included from ./include/LightGBM/network.h:8: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c treelearner/gpu_tree_learner.cpp -o treelearner/gpu_tree_learner.o clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c treelearner/linear_tree_learner.cpp -o treelearner/linear_tree_learner.o In file included from treelearner/linear_tree_learner.cpp:5: In file included from treelearner/linear_tree_learner.h:14: In file included from treelearner/serial_tree_learner.h:8: In file included from ./include/LightGBM/dataset.h:8: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c treelearner/serial_tree_learner.cpp -o treelearner/serial_tree_learner.o In file included from treelearner/serial_tree_learner.cpp:6: In file included from treelearner/serial_tree_learner.h:8: In file included from ./include/LightGBM/dataset.h:8: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ In file included from treelearner/serial_tree_learner.cpp:9: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from treelearner/serial_tree_learner.cpp:9: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from treelearner/serial_tree_learner.cpp:9: In file included from ./include/LightGBM/objective_function.h:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1815:11: warning: unused variable 'dist_ij' [-Wunused-variable] 1815 | double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); | ^~~~~~~ 5 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c treelearner/tree_learner.cpp -o treelearner/tree_learner.o In file included from treelearner/tree_learner.cpp:5: In file included from ./include/LightGBM/tree_learner.h:9: In file included from ./include/LightGBM/config.h:23: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c treelearner/voting_parallel_tree_learner.cpp -o treelearner/voting_parallel_tree_learner.o In file included from treelearner/voting_parallel_tree_learner.cpp:5: In file included from ./include/LightGBM/utils/common.h:12: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c c_api.cpp -o c_api.o In file included from c_api.cpp:12: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from c_api.cpp:12: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from c_api.cpp:12: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: In file included from ./include/GPBoost/cov_fcts.h:14: In file included from ./include/GPBoost/sparse_matrix_utils.h:13: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ In file included from c_api.cpp:12: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1815:11: warning: unused variable 'dist_ij' [-Wunused-variable] 1815 | double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); | ^~~~~~~ 5 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c gpboost_R.cpp -o gpboost_R.o In file included from gpboost_R.cpp:7: ./gpboost_R.h:12:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 12 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c re_model.cpp -o re_model.o In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: In file included from ./include/GPBoost/cov_fcts.h:14: In file included from ./include/GPBoost/sparse_matrix_utils.h:13: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1815:11: warning: unused variable 'dist_ij' [-Wunused-variable] 1815 | double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); | ^~~~~~~ ./include/GPBoost/cov_fcts.h:1183:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1183 | GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& dist, | ^ ./include/GPBoost/cov_fcts.h:134:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1>>::InitializeGetDistanceForCovFct' requested here 134 | InitializeGetDistanceForCovFct(); | ^ ./include/GPBoost/re_comp.h:751:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1>>::CovFunction' requested here 751 | cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); | ^ ./include/GPBoost/re_model_template.h:5306:51: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::Matrix<double, -1, -1>>::RECompGP' requested here 5306 | std::shared_ptr<RECompGP<den_mat_t>> gp_ip(new RECompGP<den_mat_t>( | ^ ./include/GPBoost/re_model_template.h:275:6: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double>, 1, Eigen::AMDOrdering<int>>>::CreateREComponentsFITC_FSA' requested here 275 | CreateREComponentsFITC_FSA(num_data_, data_indices_per_cluster_, cluster_i, gp_coords_data, | ^ re_model.cpp:75:81: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double>, 1, Eigen::AMDOrdering<int>>>::REModelTemplate' requested here 75 | re_model_sp_ = std::unique_ptr<REModelTemplate<sp_mat_t, chol_sp_mat_t>>(new REModelTemplate<sp_mat_t, chol_sp_mat_t>( | ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1189:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1189 | GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, | ^ ./include/GPBoost/cov_fcts.h:1421:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1421 | GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& dist, | ^ ./include/GPBoost/cov_fcts.h:135:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1>>::InitializeGetDistanceForGradientCovFct' requested here 135 | InitializeGetDistanceForGradientCovFct(); | ^ ./include/GPBoost/re_comp.h:751:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1>>::CovFunction' requested here 751 | cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); | ^ ./include/GPBoost/re_model_template.h:5306:51: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::Matrix<double, -1, -1>>::RECompGP' requested here 5306 | std::shared_ptr<RECompGP<den_mat_t>> gp_ip(new RECompGP<den_mat_t>( | ^ ./include/GPBoost/re_model_template.h:275:6: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double>, 1, Eigen::AMDOrdering<int>>>::CreateREComponentsFITC_FSA' requested here 275 | CreateREComponentsFITC_FSA(num_data_, data_indices_per_cluster_, cluster_i, gp_coords_data, | ^ re_model.cpp:75:81: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double>, 1, Eigen::AMDOrdering<int>>>::REModelTemplate' requested here 75 | re_model_sp_ = std::unique_ptr<REModelTemplate<sp_mat_t, chol_sp_mat_t>>(new REModelTemplate<sp_mat_t, chol_sp_mat_t>( | ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1427:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1427 | GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, | ^ ./include/GPBoost/cov_fcts.h:1434:38: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1434 | GetDistanceForGradientCovFct_ = [this](const int /* i */, const int /* j */, const T_mat& /* dist */, | ^ ./include/GPBoost/cov_fcts.h:1183:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1183 | GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& dist, | ^ ./include/GPBoost/cov_fcts.h:134:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double>>::InitializeGetDistanceForCovFct' requested here 134 | InitializeGetDistanceForCovFct(); | ^ ./include/GPBoost/re_comp.h:751:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double>>::CovFunction' requested here 751 | cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); | ^ ./include/GPBoost/re_model_template.h:5318:77: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::SparseMatrix<double>>::RECompGP' requested here 5318 | re_comps_resid_cluster_i.push_back(std::shared_ptr<RECompGP<T_mat>>(new RECompGP<T_mat>( | ^ ./include/GPBoost/re_model_template.h:275:6: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double>, 1, Eigen::AMDOrdering<int>>>::CreateREComponentsFITC_FSA' requested here 275 | CreateREComponentsFITC_FSA(num_data_, data_indices_per_cluster_, cluster_i, gp_coords_data, | ^ re_model.cpp:75:81: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double>, 1, Eigen::AMDOrdering<int>>>::REModelTemplate' requested here 75 | re_model_sp_ = std::unique_ptr<REModelTemplate<sp_mat_t, chol_sp_mat_t>>(new REModelTemplate<sp_mat_t, chol_sp_mat_t>( | ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1189:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1189 | GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, | ^ ./include/GPBoost/cov_fcts.h:1421:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1421 | GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& dist, | ^ ./include/GPBoost/cov_fcts.h:135:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double>>::InitializeGetDistanceForGradientCovFct' requested here 135 | InitializeGetDistanceForGradientCovFct(); | ^ ./include/GPBoost/re_comp.h:751:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double>>::CovFunction' requested here 751 | cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); | ^ ./include/GPBoost/re_model_template.h:5318:77: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::SparseMatrix<double>>::RECompGP' requested here 5318 | re_comps_resid_cluster_i.push_back(std::shared_ptr<RECompGP<T_mat>>(new RECompGP<T_mat>( | ^ ./include/GPBoost/re_model_template.h:275:6: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double>, 1, Eigen::AMDOrdering<int>>>::CreateREComponentsFITC_FSA' requested here 275 | CreateREComponentsFITC_FSA(num_data_, data_indices_per_cluster_, cluster_i, gp_coords_data, | ^ re_model.cpp:75:81: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double>, 1, Eigen::AMDOrdering<int>>>::REModelTemplate' requested here 75 | re_model_sp_ = std::unique_ptr<REModelTemplate<sp_mat_t, chol_sp_mat_t>>(new REModelTemplate<sp_mat_t, chol_sp_mat_t>( | ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1427:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1427 | GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, | ^ ./include/GPBoost/cov_fcts.h:1434:38: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1434 | GetDistanceForGradientCovFct_ = [this](const int /* i */, const int /* j */, const T_mat& /* dist */, | ^ ./include/GPBoost/cov_fcts.h:1183:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1183 | GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& dist, | ^ ./include/GPBoost/cov_fcts.h:134:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double, 1>>::InitializeGetDistanceForCovFct' requested here 134 | InitializeGetDistanceForCovFct(); | ^ ./include/GPBoost/re_comp.h:751:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double, 1>>::CovFunction' requested here 751 | cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); | ^ ./include/GPBoost/re_model_template.h:5318:77: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::SparseMatrix<double, 1>>::RECompGP' requested here 5318 | re_comps_resid_cluster_i.push_back(std::shared_ptr<RECompGP<T_mat>>(new RECompGP<T_mat>( | ^ ./include/GPBoost/re_model_template.h:275:6: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 1>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 1>, 1, Eigen::AMDOrdering<int>>>::CreateREComponentsFITC_FSA' requested here 275 | CreateREComponentsFITC_FSA(num_data_, data_indices_per_cluster_, cluster_i, gp_coords_data, | ^ re_model.cpp:106:90: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 1>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 1>, 1, Eigen::AMDOrdering<int>>>::REModelTemplate' requested here 106 | re_model_sp_rm_ = std::unique_ptr<REModelTemplate<sp_mat_rm_t, chol_sp_mat_rm_t>>(new REModelTemplate<sp_mat_rm_t, chol_sp_mat_rm_t>( | ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1189:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1189 | GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, | ^ ./include/GPBoost/cov_fcts.h:1421:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1421 | GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& dist, | ^ ./include/GPBoost/cov_fcts.h:135:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double, 1>>::InitializeGetDistanceForGradientCovFct' requested here 135 | InitializeGetDistanceForGradientCovFct(); | ^ ./include/GPBoost/re_comp.h:751:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::SparseMatrix<double, 1>>::CovFunction' requested here 751 | cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); | ^ ./include/GPBoost/re_model_template.h:5318:77: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::SparseMatrix<double, 1>>::RECompGP' requested here 5318 | re_comps_resid_cluster_i.push_back(std::shared_ptr<RECompGP<T_mat>>(new RECompGP<T_mat>( | ^ ./include/GPBoost/re_model_template.h:275:6: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 1>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 1>, 1, Eigen::AMDOrdering<int>>>::CreateREComponentsFITC_FSA' requested here 275 | CreateREComponentsFITC_FSA(num_data_, data_indices_per_cluster_, cluster_i, gp_coords_data, | ^ re_model.cpp:106:90: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 1>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 1>, 1, Eigen::AMDOrdering<int>>>::REModelTemplate' requested here 106 | re_model_sp_rm_ = std::unique_ptr<REModelTemplate<sp_mat_rm_t, chol_sp_mat_rm_t>>(new REModelTemplate<sp_mat_rm_t, chol_sp_mat_rm_t>( | ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: In file included from ./include/GPBoost/re_model_template.h:15: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1427:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1427 | GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, | ^ ./include/GPBoost/cov_fcts.h:1434:38: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1434 | GetDistanceForGradientCovFct_ = [this](const int /* i */, const int /* j */, const T_mat& /* dist */, | ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: ./include/GPBoost/re_model_template.h:8068:42: warning: expression result unused [-Wunused-value] 8068 | re_comp_cross_cov_cluster_i_pred_ip->coords_; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./include/GPBoost/re_model_template.h:3002:8: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double>, 1, Eigen::AMDOrdering<int>>>::CalcPredFITC_FSA' requested here 3002 | CalcPredFITC_FSA(cluster_i, gp_coords_mat_pred, predict_cov_mat, | ^ re_model.cpp:1036:18: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double>, 1, Eigen::AMDOrdering<int>>>::Predict' requested here 1036 | re_model_sp_->Predict(cov_pars_pred_trans.data(), | ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: ./include/GPBoost/re_model_template.h:8068:42: warning: expression result unused [-Wunused-value] 8068 | re_comp_cross_cov_cluster_i_pred_ip->coords_; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./include/GPBoost/re_model_template.h:3002:8: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 1>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 1>, 1, Eigen::AMDOrdering<int>>>::CalcPredFITC_FSA' requested here 3002 | CalcPredFITC_FSA(cluster_i, gp_coords_mat_pred, predict_cov_mat, | ^ re_model.cpp:1056:21: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::SparseMatrix<double, 1>, Eigen::SimplicialLLT<Eigen::SparseMatrix<double, 1>, 1, Eigen::AMDOrdering<int>>>::Predict' requested here 1056 | re_model_sp_rm_->Predict(cov_pars_pred_trans.data(), | ^ In file included from re_model.cpp:9: In file included from ./include/GPBoost/re_model.h:13: ./include/GPBoost/re_model_template.h:8068:42: warning: expression result unused [-Wunused-value] 8068 | re_comp_cross_cov_cluster_i_pred_ip->coords_; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ ./include/GPBoost/re_model_template.h:3002:8: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::Matrix<double, -1, -1>, Eigen::LLT<Eigen::Matrix<double, -1, -1>>>::CalcPredFITC_FSA' requested here 3002 | CalcPredFITC_FSA(cluster_i, gp_coords_mat_pred, predict_cov_mat, | ^ re_model.cpp:1076:19: note: in instantiation of member function 'GPBoost::REModelTemplate<Eigen::Matrix<double, -1, -1>, Eigen::LLT<Eigen::Matrix<double, -1, -1>>>::Predict' requested here 1076 | re_model_den_->Predict(cov_pars_pred_trans.data(), | ^ 23 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c sparse_matrix_utils.cpp -o sparse_matrix_utils.o In file included from sparse_matrix_utils.cpp:9: In file included from ./include/GPBoost/sparse_matrix_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from sparse_matrix_utils.cpp:9: In file included from ./include/GPBoost/sparse_matrix_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from sparse_matrix_utils.cpp:9: In file included from ./include/GPBoost/sparse_matrix_utils.h:13: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 4 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c GP_utils.cpp -o GP_utils.o In file included from GP_utils.cpp:9: In file included from ./include/GPBoost/GP_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from GP_utils.cpp:9: In file included from ./include/GPBoost/GP_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from GP_utils.cpp:9: In file included from ./include/GPBoost/GP_utils.h:14: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 4 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c DF_utils.cpp -o DF_utils.o In file included from DF_utils.cpp:10: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ 1 warning generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c Vecchia_utils.cpp -o Vecchia_utils.o In file included from Vecchia_utils.cpp:9: In file included from ./include/GPBoost/Vecchia_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from Vecchia_utils.cpp:9: In file included from ./include/GPBoost/Vecchia_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from Vecchia_utils.cpp:9: In file included from ./include/GPBoost/Vecchia_utils.h:13: In file included from ./include/GPBoost/re_comp.h:13: In file included from ./include/GPBoost/cov_fcts.h:14: In file included from ./include/GPBoost/sparse_matrix_utils.h:13: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ In file included from Vecchia_utils.cpp:9: In file included from ./include/GPBoost/Vecchia_utils.h:13: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1815:11: warning: unused variable 'dist_ij' [-Wunused-variable] 1815 | double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); | ^~~~~~~ Vecchia_utils.cpp:477:17: warning: variable 'ctr_grad' set but not used [-Wunused-but-set-variable] 477 | int ctr = 0, ctr_grad = 0; | ^ In file included from Vecchia_utils.cpp:9: In file included from ./include/GPBoost/Vecchia_utils.h:13: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1183:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1183 | GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& dist, | ^ ./include/GPBoost/cov_fcts.h:134:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1>>::InitializeGetDistanceForCovFct' requested here 134 | InitializeGetDistanceForCovFct(); | ^ ./include/GPBoost/re_comp.h:751:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1>>::CovFunction' requested here 751 | cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); | ^ Vecchia_utils.cpp:369:81: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::Matrix<double, -1, -1>>::RECompGP' requested here 369 | re_comps_vecchia_cluster_i.push_back(std::shared_ptr<RECompGP<den_mat_t>>(new RECompGP<den_mat_t>( | ^ In file included from Vecchia_utils.cpp:9: In file included from ./include/GPBoost/Vecchia_utils.h:13: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1189:30: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1189 | GetDistanceForCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, | ^ ./include/GPBoost/cov_fcts.h:1421:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1421 | GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& dist, | ^ ./include/GPBoost/cov_fcts.h:135:4: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1>>::InitializeGetDistanceForGradientCovFct' requested here 135 | InitializeGetDistanceForGradientCovFct(); | ^ ./include/GPBoost/re_comp.h:751:60: note: in instantiation of member function 'GPBoost::CovFunction<Eigen::Matrix<double, -1, -1>>::CovFunction' requested here 751 | cov_function_ = std::shared_ptr<CovFunction<T_mat>>(new CovFunction<T_mat>(cov_fct, shape, taper_range, taper_shape, taper_mu, apply_tapering, (int)coords.cols(), use_precomputed_dist_for_calc_cov)); | ^ Vecchia_utils.cpp:369:81: note: in instantiation of member function 'GPBoost::RECompGP<Eigen::Matrix<double, -1, -1>>::RECompGP' requested here 369 | re_comps_vecchia_cluster_i.push_back(std::shared_ptr<RECompGP<den_mat_t>>(new RECompGP<den_mat_t>( | ^ In file included from Vecchia_utils.cpp:9: In file included from ./include/GPBoost/Vecchia_utils.h:13: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1427:39: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1427 | GetDistanceForGradientCovFct_ = [this](const int i, const int j, const T_mat& /* dist */, | ^ ./include/GPBoost/cov_fcts.h:1434:38: warning: lambda capture 'this' is not used [-Wunused-lambda-capture] 1434 | GetDistanceForGradientCovFct_ = [this](const int /* i */, const int /* j */, const T_mat& /* dist */, | ^ 11 warnings generated. clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c CG_utils.cpp -o CG_utils.o In file included from CG_utils.cpp:9: In file included from ./include/GPBoost/CG_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:26: In file included from ./include/Eigen/SparseCore:61: ./include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from CG_utils.cpp:9: In file included from ./include/GPBoost/CG_utils.h:12: In file included from ./include/GPBoost/type_defs.h:20: In file included from ./include/Eigen/Sparse:29: In file included from ./include/Eigen/SparseLU:35: ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ ./include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from CG_utils.cpp:9: In file included from ./include/GPBoost/CG_utils.h:13: In file included from ./include/GPBoost/re_comp.h:13: In file included from ./include/GPBoost/cov_fcts.h:14: In file included from ./include/GPBoost/sparse_matrix_utils.h:13: ./include/LightGBM/utils/log.h:20:9: warning: 'R_NO_REMAP' macro redefined [-Wmacro-redefined] 20 | #define R_NO_REMAP | ^ <command line>:8:9: note: previous definition is here 8 | #define R_NO_REMAP 1 | ^ In file included from CG_utils.cpp:9: In file included from ./include/GPBoost/CG_utils.h:13: In file included from ./include/GPBoost/re_comp.h:13: ./include/GPBoost/cov_fcts.h:1815:11: warning: unused variable 'dist_ij' [-Wunused-variable] 1815 | double dist_ij = ((*coords_pred_ptr).row(i) - (*coords_ptr).row(j)).lpNorm<2>(); | ^~~~~~~ 5 warnings generated. clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cs_spsolve.c -o cs_spsolve.o clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cs_reach.c -o cs_reach.o clang-19 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c cs_dfs.c -o cs_dfs.o clang++-19 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o gpboost.so boosting/boosting.o boosting/gbdt.o boosting/gbdt_model_text.o boosting/gbdt_prediction.o boosting/prediction_early_stop.o io/bin.o io/config.o io/config_auto.o io/dataset.o io/dataset_loader.o io/file_io.o io/json11.o io/metadata.o io/parser.o io/train_share_states.o io/tree.o metric/dcg_calculator.o metric/metric.o objective/objective_function.o network/ifaddrs_patch.o network/linker_topo.o network/linkers_mpi.o network/linkers_socket.o network/network.o treelearner/data_parallel_tree_learner.o treelearner/feature_parallel_tree_learner.o treelearner/gpu_tree_learner.o treelearner/linear_tree_learner.o treelearner/serial_tree_learner.o treelearner/tree_learner.o treelearner/voting_parallel_tree_learner.o c_api.o gpboost_R.o re_model.o sparse_matrix_utils.o GP_utils.o DF_utils.o Vecchia_utils.o CG_utils.o cs_spsolve.o cs_reach.o cs_dfs.o -pthread -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp9IeVm0/R.INSTALL32a8ed6313d5ff/gpboost/src' make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp9IeVm0/R.INSTALL32a8ed6313d5ff/gpboost/src' make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp9IeVm0/R.INSTALL32a8ed6313d5ff/gpboost/src' installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-gpboost/00new/gpboost/libs ** R ** data ** demo ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** building package indices ** 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 (gpboost)