* installing *source* package 'WeightSVM' ... ** package 'WeightSVM' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.2.0' using C++ compiler: 'g++.exe (GCC) 13.2.0' make[1]: Entering directory '/d/temp/RtmpieVdfl/R.INSTALL171147a663b08/WeightSVM/src' gcc -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -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 D:/rtools44/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/13.2.0/include/c++/cstdlib:79, from D:/RCompile/recent/R-4.4.0/include/R.h:39, from svm.cpp:1: D:/rtools44/x86_64-w64-mingw32.static.posix/include/stdlib.h:538:17: note: in a call to allocation function 'void* malloc(size_t)' declared here 538 | void *__cdecl malloc(size_t _Size); | ^~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o WeightSVM.dll tmp.def Rsvm.o init.o svm.o -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.0/bin/x64 -lR make[1]: Leaving directory '/d/temp/RtmpieVdfl/R.INSTALL171147a663b08/WeightSVM/src' make[1]: Entering directory '/d/temp/RtmpieVdfl/R.INSTALL171147a663b08/WeightSVM/src' make[1]: Leaving directory '/d/temp/RtmpieVdfl/R.INSTALL171147a663b08/WeightSVM/src' installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-WeightSVM/00new/WeightSVM/libs/x64 ** 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 ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * MD5 sums packaged installation of 'WeightSVM' as WeightSVM_1.7-13.zip * DONE (WeightSVM)