* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/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: ‘g++-16 (Debian 16-20260425-1) 16.0.1 20260425 (prerelease) [gcc-16 r16-8812-gd9c07462a22]’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpRiZrBn/R.INSTALLaf9f950202dd5/CORElearn/src'
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c Rconvert.cpp -o Rconvert.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c Rfront.cpp -o Rfront.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c binarize.cpp -o binarize.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c binarizeReg.cpp -o binarizeReg.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c binnode.cpp -o binnode.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c binnodeReg.cpp -o binnodeReg.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c binpart.cpp -o binpart.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c bintree.cpp -o bintree.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c bintreeReg.cpp -o bintreeReg.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c c45read.cpp -o c45read.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c calibrate.cpp -o calibrate.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c constrct.cpp -o constrct.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c constrctReg.cpp -o constrctReg.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c cost.cpp -o cost.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c dataStore.cpp -o dataStore.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c error.cpp -o error.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c estCommon.cpp -o estCommon.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c estOrdAttr.cpp -o estOrdAttr.o
estOrdAttr.cpp: In member function ‘void estimation::oeExpDistr(int, int, marray<marray<double> >&, marray<marray<double> >&, marray<marray<double> >&)’:
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 ;
| ^~~~~~~
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c estimator.cpp -o estimator.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c estimatorReg.cpp -o estimatorReg.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c expr.cpp -o expr.o
g++-16 -std=gnu++20 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c exprReg.cpp -o exprReg.o
exprReg.cpp: In member function ‘void exprReg::createLinear(double*, int, marray<int>&)’:
exprReg.cpp:177:35: error: reference to ‘plus’ is ambiguous
177 | workingNode->nodeType = plus ;
| ^~~~
• there are 2 candidates
In file included from /usr/include/c++/16/bits/predefined_ops.h:33,
from /usr/include/c++/16/bits/stl_algobase.h:70,
from /usr/include/c++/16/bits/specfun.h:44,
from /usr/include/c++/16/cmath:3913,
from /home/hornik/tmp/R.check/r-release-gcc/Work/build/include/R.h:41,
from general.h:15,
from exprReg.cpp:12:
• candidate 1: ‘template<class _Tp> struct std::plus’
/usr/include/c++/16/bits/stl_function.h:163:12:
163 | struct plus;
| ^~~~
In file included from exprReg.cpp:13:
• candidate 2: ‘exprRegType plus’
exprReg.h:8:20:
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^~~~
exprReg.cpp: In member function ‘double exprReg::predict(binnodeReg*, int, exprRegNode*)’:
exprReg.cpp:383:14: error: reference to ‘plus’ is ambiguous
383 | case plus:
| ^~~~
• there are 2 candidates
• candidate 1: ‘template<class _Tp> struct std::plus’
/usr/include/c++/16/bits/stl_function.h:163:12:
163 | struct plus;
| ^~~~
• candidate 2: ‘exprRegType plus’
exprReg.h:8:20:
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^~~~
exprReg.cpp:386:14: error: reference to ‘minus’ is ambiguous
386 | case minus:
| ^~~~~
• there are 2 candidates
• candidate 1: ‘template<class _Tp> struct std::minus’
/usr/include/c++/16/bits/stl_function.h:166:12:
166 | struct minus;
| ^~~~~
• candidate 2: ‘exprRegType minus’
exprReg.h:8:26:
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^~~~~
exprReg.cpp: In member function ‘char* exprReg::descriptionString(exprRegNode*)’:
exprReg.cpp:561:14: error: reference to ‘plus’ is ambiguous
561 | case plus:
| ^~~~
• there are 2 candidates
• candidate 1: ‘template<class _Tp> struct std::plus’
/usr/include/c++/16/bits/stl_function.h:163:12:
163 | struct plus;
| ^~~~
• candidate 2: ‘exprRegType plus’
exprReg.h:8:20:
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^~~~
exprReg.cpp:572:14: error: reference to ‘minus’ is ambiguous
572 | case minus:
| ^~~~~
• there are 2 candidates
• candidate 1: ‘template<class _Tp> struct std::minus’
/usr/include/c++/16/bits/stl_function.h:166:12:
166 | struct minus;
| ^~~~~
• candidate 2: ‘exprRegType minus’
exprReg.h:8:26:
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^~~~~
exprReg.cpp: In member function ‘double exprReg::mdlExprCost(exprRegNode*)’:
exprReg.cpp:668:14: error: reference to ‘plus’ is ambiguous
668 | case plus:
| ^~~~
• there are 2 candidates
• candidate 1: ‘template<class _Tp> struct std::plus’
/usr/include/c++/16/bits/stl_function.h:163:12:
163 | struct plus;
| ^~~~
• candidate 2: ‘exprRegType plus’
exprReg.h:8:20:
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^~~~
exprReg.cpp:669:14: error: reference to ‘minus’ is ambiguous
669 | case minus:
| ^~~~~
• there are 2 candidates
• candidate 1: ‘template<class _Tp> struct std::minus’
/usr/include/c++/16/bits/stl_function.h:166:12:
166 | struct minus;
| ^~~~~
• candidate 2: ‘exprRegType minus’
exprReg.h:8:26:
8 | enum exprRegType {plus, minus, times, constTimesAttr, intConstant, floatConstant, kNNreg, kernelRegression, LWLR} ;
| ^~~~~
make[1]: *** [/home/hornik/tmp/R.check/r-release-gcc/Work/build/etc/Makeconf:197: exprReg.o] Error 1
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpRiZrBn/R.INSTALLaf9f950202dd5/CORElearn/src'
ERROR: compilation failed for package ‘CORElearn’
* removing ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/CORElearn’