* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’ * installing *source* package ‘WeightSVM’ ... ** package ‘WeightSVM’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-14 (Debian 14.2.0-3) 14.2.0’ using C++ compiler: ‘g++-14 (Debian 14.2.0-3) 14.2.0’ make[1]: Entering directory '/tmp/RtmpJlV6Nw/R.INSTALL11a251620a150d/WeightSVM/src' gcc-14 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c Rsvm.c -o Rsvm.o Rsvm.c: In function ‘svmtrain’: Rsvm.c:276:5: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 276 | else | ^~~~ Rsvm.c:278:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 278 | prob.W = W; | ^~~~ gcc-14 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c init.c -o init.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c svm.cpp -o svm.o svm.cpp: In function ‘void solve_nu_svc(const svm_problem*, const svm_parameter*, double*, Solver::SolutionInfo*)’: svm.cpp:1509:17: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 1509 | else | ^~~~ svm.cpp:1511:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 1511 | C[i] = prob->W[i]; | ^ svm.cpp: In function ‘svm_model* svm_train(const svm_problem*, const svm_parameter*)’: svm.cpp:42:38: warning: argument 1 range [18446744056529682432, 18446744073709551608] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 42 | #define Malloc(type,n) (type *)malloc((n)*sizeof(type)) | ~~~~~~^~~~~~~~~~~~~~~~~~ svm.cpp:2391:34: note: in expansion of macro ‘Malloc’ 2391 | model->sv_coef = Malloc(double *,nr_class-1); | ^~~~~~ In file included from /usr/include/c++/14/cstdlib:79, from /home/hornik/tmp/R.check/r-devel-gcc/Work/build/include/R.h:39, from svm.cpp:1: /usr/include/stdlib.h:672:14: note: in a call to allocation function ‘void* malloc(size_t)’ declared here 672 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o WeightSVM.so Rsvm.o init.o svm.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR make[1]: Leaving directory '/tmp/RtmpJlV6Nw/R.INSTALL11a251620a150d/WeightSVM/src' make[1]: Entering directory '/tmp/RtmpJlV6Nw/R.INSTALL11a251620a150d/WeightSVM/src' make[1]: Leaving directory '/tmp/RtmpJlV6Nw/R.INSTALL11a251620a150d/WeightSVM/src' installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-WeightSVM/00new/WeightSVM/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (WeightSVM)