* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘CORElearn’ ...
** this is package ‘CORElearn’ version ‘1.57.3.1’
** package ‘CORElearn’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Debian clang version 22.1.5 (1)’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpuTVD4d/R.INSTALL65e9e6a304df7/CORElearn/src'
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c Rconvert.cpp -o Rconvert.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c Rfront.cpp -o Rfront.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c binarize.cpp -o binarize.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c binarizeReg.cpp -o binarizeReg.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c binnode.cpp -o binnode.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c binnodeReg.cpp -o binnodeReg.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c binpart.cpp -o binpart.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c bintree.cpp -o bintree.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c bintreeReg.cpp -o bintreeReg.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c c45read.cpp -o c45read.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c calibrate.cpp -o calibrate.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c constrct.cpp -o constrct.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c constrctReg.cpp -o constrctReg.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c cost.cpp -o cost.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c dataStore.cpp -o dataStore.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c error.cpp -o error.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c estCommon.cpp -o estCommon.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c estOrdAttr.cpp -o estOrdAttr.o
estOrdAttr.cpp:1428:29: warning: variable 'noValid' set but not used [-Wunused-but-set-variable]
1428 | int iA, iV, i, iC, k, u, noValid, sumAp,sumAn, sumCrAk, maxNoValues = 0 ;
| ^
1 warning generated.
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c estimator.cpp -o estimator.o
estimator.cpp:1021:6: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation]
1021 | if (preparedEstimator==estImpurityEuclid)
| ^
estimator.cpp:1017:5: note: previous statement is here
1017 | for (j=1 ; j <= noClasses ;j++)
| ^
1 warning generated.
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c estimatorReg.cpp -o estimatorReg.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c expr.cpp -o expr.o
clang++-22 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -c exprReg.cpp -o exprReg.o
exprReg.cpp:177:35: error: reference to 'plus' is ambiguous
177 | workingNode->nodeType = plus ;
| ^
./exprReg.h:8:20: note: candidate found by name lookup is 'plus'
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_function.h:187:12: note: candidate found by name lookup is 'std::plus'
187 | struct plus : public binary_function<_Tp, _Tp, _Tp>
| ^
exprReg.cpp:383:14: error: reference to 'plus' is ambiguous
383 | case plus:
| ^
./exprReg.h:8:20: note: candidate found by name lookup is 'plus'
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_function.h:187:12: note: candidate found by name lookup is 'std::plus'
187 | struct plus : public binary_function<_Tp, _Tp, _Tp>
| ^
exprReg.cpp:386:14: error: reference to 'minus' is ambiguous
386 | case minus:
| ^
./exprReg.h:8:26: note: candidate found by name lookup is 'minus'
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_function.h:198:12: note: candidate found by name lookup is 'std::minus'
198 | struct minus : public binary_function<_Tp, _Tp, _Tp>
| ^
exprReg.cpp:561:14: error: reference to 'plus' is ambiguous
561 | case plus:
| ^
./exprReg.h:8:20: note: candidate found by name lookup is 'plus'
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_function.h:187:12: note: candidate found by name lookup is 'std::plus'
187 | struct plus : public binary_function<_Tp, _Tp, _Tp>
| ^
exprReg.cpp:572:14: error: reference to 'minus' is ambiguous
572 | case minus:
| ^
./exprReg.h:8:26: note: candidate found by name lookup is 'minus'
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_function.h:198:12: note: candidate found by name lookup is 'std::minus'
198 | struct minus : public binary_function<_Tp, _Tp, _Tp>
| ^
exprReg.cpp:668:14: error: reference to 'plus' is ambiguous
668 | case plus:
| ^
./exprReg.h:8:20: note: candidate found by name lookup is 'plus'
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_function.h:187:12: note: candidate found by name lookup is 'std::plus'
187 | struct plus : public binary_function<_Tp, _Tp, _Tp>
| ^
exprReg.cpp:669:14: error: reference to 'minus' is ambiguous
669 | case minus:
| ^
./exprReg.h:8:26: note: candidate found by name lookup is 'minus'
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^
/usr/lib/gcc/x86_64-linux-gnu/16/../../../../include/c++/16/bits/stl_function.h:198:12: note: candidate found by name lookup is 'std::minus'
198 | struct minus : public binary_function<_Tp, _Tp, _Tp>
| ^
7 errors generated.
make[1]: *** [/home/hornik/tmp/R.check/r-devel-clang/Work/build/etc/Makeconf:197: exprReg.o] Error 1
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpuTVD4d/R.INSTALL65e9e6a304df7/CORElearn/src'
ERROR: compilation failed for package ‘CORElearn’
* removing ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/CORElearn’