* installing *source* package ‘gpboost’ ... ** using staged installation checking location of R... /home/hornik/tmp/R-d-clang-18 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 18.1.8 (9)’ using C++ compiler: ‘Debian clang version 18.1.8 (9)’ using C++17 clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #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 | ^ 5 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #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 | ^ 5 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #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 | ^ 5 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 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: 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 5 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #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; | ^ 5 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #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 | ^ 5 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #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 | ^ 5 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 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: 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 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++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c network/ifaddrs_patch.cpp -o network/ifaddrs_patch.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c network/linkers_mpi.cpp -o network/linkers_mpi.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #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; | ^ 3 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -pthread -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c treelearner/gpu_tree_learner.cpp -o treelearner/gpu_tree_learner.o clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #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 | ^ 5 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 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: 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 5 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:11:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 11 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 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: 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 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:2957:8: note: in instantiation of member function 'GPBoost::REModelTemplate, Eigen::SimplicialLLT, 1, Eigen::AMDOrdering>>::CalcPredPPFSA' requested here 2957 | CalcPredPPFSA(cluster_i, gp_coords_mat_pred, predict_cov_mat, | ^ re_model.cpp:1008:18: note: in instantiation of member function 'GPBoost::REModelTemplate, Eigen::SimplicialLLT, 1, Eigen::AMDOrdering>>::Predict' requested here 1008 | 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:2957:8: note: in instantiation of member function 'GPBoost::REModelTemplate, Eigen::SimplicialLLT, 1, Eigen::AMDOrdering>>::CalcPredPPFSA' requested here 2957 | CalcPredPPFSA(cluster_i, gp_coords_mat_pred, predict_cov_mat, | ^ re_model.cpp:1028:21: note: in instantiation of member function 'GPBoost::REModelTemplate, Eigen::SimplicialLLT, 1, Eigen::AMDOrdering>>::Predict' requested here 1028 | 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:2957:8: note: in instantiation of member function 'GPBoost::REModelTemplate, Eigen::LLT>>::CalcPredPPFSA' requested here 2957 | CalcPredPPFSA(cluster_i, gp_coords_mat_pred, predict_cov_mat, | ^ re_model.cpp:1048:19: note: in instantiation of member function 'GPBoost::REModelTemplate, Eigen::LLT>>::Predict' requested here 1048 | re_model_den_->Predict(cov_pars_pred_trans.data(), | ^ 8 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 5 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 5 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 1 | ^ 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 2 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 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: 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 5 warnings generated. clang++-18 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -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:19:9: warning: 'STRICT_R_HEADERS' macro redefined [-Wmacro-redefined] 19 | #define STRICT_R_HEADERS | ^ :9:9: note: previous definition is here 9 | #define STRICT_R_HEADERS 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: 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 | ^ :10:9: note: previous definition is here 10 | #define R_NO_REMAP 1 | ^ 5 warnings generated. clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -c cs_spsolve.c -o cs_spsolve.o clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -c cs_reach.c -o cs_reach.o clang-18 -I"/home/hornik/tmp/R-d-clang-18/include" -DNDEBUG -I./include -DEIGEN_MPL2_ONLY -DMM_PREFETCH=1 -DMM_MALLOC=1 -DUSE_SOCKET -DLGB_R_BUILD -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -fpic -g -O3 -Wall -pedantic -c cs_dfs.c -o cs_dfs.o clang++-18 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-18/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-d-clang-18/lib -lR installing to /srv/hornik/tmp/CRAN/gpboost.Rcheck/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)