downloading reverse dependencies ... downloading candisc_0.9.0.tar.gz ... ok downloading ICSClust_0.1.0.tar.gz ... ok downloading MorphoTools2_1.0.2.1.tar.gz ... ok downloading mvinfluence_0.9.0.tar.gz ... ok downloading effects_4.2-2.tar.gz ... ok downloading Guerry_1.8.3.tar.gz ... ok downloading HistData_0.9-1.tar.gz ... ok downloading latentnet_2.11.0.tar.gz ... ok downloading ordr_0.1.1.tar.gz ... ok installing dependencies ‘adespatial’, ‘alr4’, ‘archdata’, ‘corrgram’, ‘ggpcp’, ‘heplots’, ‘mlpack’, ‘mvinfluence’, ‘otrimle’, ‘qqtest’, ‘robustlmm’, ‘Sleuth2’, ‘snowFT’, ‘tclust’, ‘vcdExtra’ also installing the dependency ‘adephylo’ begin installing package ‘adephylo’ begin installing package ‘Sleuth2’ begin installing package ‘corrgram’ begin installing package ‘archdata’ begin installing package ‘qqtest’ begin installing package ‘vcdExtra’ begin installing package ‘otrimle’ begin installing package ‘tclust’ begin installing package ‘alr4’ begin installing package ‘robustlmm’ begin installing package ‘ggpcp’ begin installing package ‘snowFT’ begin installing package ‘mlpack’ begin installing package ‘heplots’ * installing *source* package ‘archdata’ ... ** package ‘archdata’ successfully unpacked and MD5 sums checked ** using staged installation ** data ** help *** installing help indices ** building package indices ** 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 * DONE (archdata) * installing *source* package ‘corrgram’ ... ** package ‘corrgram’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** 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 * DONE (corrgram) * installing *source* package ‘snowFT’ ... ** package ‘snowFT’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** 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 * DONE (snowFT) * installing *source* package ‘qqtest’ ... ** package ‘qqtest’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** data *** moving datasets to lazyload DB ** 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 * DONE (qqtest) * installing *source* package ‘Sleuth2’ ... ** package ‘Sleuth2’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** data *** moving datasets to lazyload DB ** 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 * DONE (Sleuth2) * installing *source* package ‘otrimle’ ... ** package ‘otrimle’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** 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 * DONE (otrimle) * installing *source* package ‘ggpcp’ ... ** package ‘ggpcp’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** data *** moving datasets to lazyload DB ** 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 ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (ggpcp) * installing *source* package ‘alr4’ ... ** package ‘alr4’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** 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 * DONE (alr4) * installing *source* package ‘heplots’ ... ** using staged installation ** R ** data *** moving datasets to lazyload DB ** demo ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** 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 * DONE (heplots) begin installing package ‘mvinfluence’ * installing *source* package ‘vcdExtra’ ... ** package ‘vcdExtra’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** data *** moving datasets to lazyload DB ** demo ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** 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 * DONE (vcdExtra) * installing *source* package ‘mvinfluence’ ... ** package ‘mvinfluence’ successfully unpacked and MD5 sums checked ** using staged installation ** R ** data *** moving datasets to lazyload DB ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** 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 * DONE (mvinfluence) * installing *source* package ‘adephylo’ ... ** package ‘adephylo’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-14 (Debian 14.2.0-3) 14.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpeGfaUe/R.INSTALL524652de1d0a5/adephylo/src' gcc-14 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c adesub.c -o adesub.o adesub.c: In function ‘getpermutation’: adesub.c:479:15: warning: unused variable ‘seed’ [-Wunused-variable] 479 | int i, n, seed; | ^~~~ gcc-14 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c distPhylo.c -o distPhylo.o gcc-14 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c init.c -o init.o gcc-14 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c misc.c -o misc.o gcc-14 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c phylog.c -o phylog.o gcc-14 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c sptips.c -o sptips.o gcc-14 -shared -L/home/hornik/tmp/R-d-gcc-14/lib -Wl,-O1 -o adephylo.so adesub.o distPhylo.o init.o misc.o phylog.o sptips.o -L/home/hornik/tmp/R-d-gcc-14/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpeGfaUe/R.INSTALL524652de1d0a5/adephylo/src' installing to /home/hornik/tmp/CRAN_recheck/Library/00LOCK-adephylo/00new/adephylo/libs ** R ** data ** 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 (adephylo) begin installing package ‘adespatial’ * installing *source* package ‘adespatial’ ... ** package ‘adespatial’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘gcc-14 (Debian 14.2.0-3) 14.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp7w4Avn/R.INSTALL528b63dcfc8e4/adespatial/src' gcc-14 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c WRperiodogram.c -o WRperiodogram.o gcc-14 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c adesub.c -o adesub.o gcc-14 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c betadiv.c -o betadiv.o betadiv.c: In function ‘euclidean’: betadiv.c:36:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 36 | for (i = 0; i < I; i++) | ^~~ In file included from betadiv.c:7: /home/hornik/tmp/R-d-gcc-14/include/Rinternals.h:389:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ 389 | #define UNPROTECT(n) Rf_unprotect(n) | ^~~~~~~~~~~~ betadiv.c:42:9: note: in expansion of macro ‘UNPROTECT’ 42 | UNPROTECT(3); | ^~~~~~~~~ betadiv.c: In function ‘manhattan’: betadiv.c:476:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] 476 | for (i=0; i::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp = const double; _Up = double; bool _IsMove = false]’, inlined from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const double*; _OI = double*]’ at /usr/include/c++/14/bits/stl_algobase.h:521:30, inlined from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const double*; _OI = double*]’ at /usr/include/c++/14/bits/stl_algobase.h:548:42, inlined from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const double*; _OI = double*]’ at /usr/include/c++/14/bits/stl_algobase.h:555:31, inlined from ‘_OI std::copy(_II, _II, _OI) [with _II = const double*; _OI = double*]’ at /usr/include/c++/14/bits/stl_algobase.h:651:7, inlined from ‘void RobustbasePsi::initialiseTuningParametersFromDefaults()’ at PsiFunction.cpp:462:12: /usr/include/c++/14/bits/stl_algobase.h:452:30: warning: ‘void* __builtin_memmove(void*, const void*, long unsigned int)’ forming offset 8 is out of the bounds [0, 8] [-Warray-bounds=] 452 | __builtin_memmove(__result, __first, sizeof(_Tp) * _Num); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc-14 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -DSTRICT_R_HEADERS -DUSE_FC_LEN_T -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/robustbase/include' -I'/home/hornik/tmp/R-d-gcc-14/library/Matrix/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c local_stubs.c -o local_stubs.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -DSTRICT_R_HEADERS -DUSE_FC_LEN_T -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/robustbase/include' -I'/home/hornik/tmp/R-d-gcc-14/library/Matrix/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c misc.cpp -o misc.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -DSTRICT_R_HEADERS -DUSE_FC_LEN_T -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/robustbase/include' -I'/home/hornik/tmp/R-d-gcc-14/library/Matrix/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c rlmerMatrixUtils.cpp -o rlmerMatrixUtils.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -DSTRICT_R_HEADERS -DUSE_FC_LEN_T -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/robustbase/include' -I'/home/hornik/tmp/R-d-gcc-14/library/Matrix/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c robustlmm_init.cpp -o robustlmm_init.o g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-gcc-14/lib -Wl,-O1 -o robustlmm.so Integration.o PsiFunction.o local_stubs.o misc.o rlmerMatrixUtils.o robustlmm_init.o -llapack -L/home/hornik/tmp/R-d-gcc-14/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R-d-gcc-14/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpDlcrou/R.INSTALL5247d7b9d5dc9/robustlmm/src' installing to /home/hornik/tmp/CRAN_recheck/Library/00LOCK-robustlmm/00new/robustlmm/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 (robustlmm) * installing *source* package ‘tclust’ ... ** package ‘tclust’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.2.0-3) 14.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/RtmptFX541/R.INSTALL5246f6e33e0bb/tclust/src' g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c rlg.cpp -o rlg.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c tclust.cpp -o tclust.o g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c tkmeans.cpp -o tkmeans.o g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-gcc-14/lib -Wl,-O1 -o tclust.so RcppExports.o rlg.o tclust.o tkmeans.o -fopenmp -llapack -L/home/hornik/tmp/R-d-gcc-14/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R-d-gcc-14/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmptFX541/R.INSTALL5246f6e33e0bb/tclust/src' installing to /home/hornik/tmp/CRAN_recheck/Library/00LOCK-tclust/00new/tclust/libs ** R ** data ** 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 (tclust) * installing *source* package ‘mlpack’ ... ** package ‘mlpack’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘g++-14 (Debian 14.2.0-3) 14.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp8NEQdm/R.INSTALL52481e8106da/mlpack/src' g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack.h:52, from RcppExports.cpp:4: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c adaboost.cpp -o adaboost.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/adaboost/adaboost_main.cpp:34, from adaboost.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/adaboost/adaboost.hpp:302, from ../inst/include/mlpack/methods/adaboost/adaboost_main.cpp:41: ../inst/include/mlpack/methods/adaboost/adaboost_impl.hpp: In instantiation of ‘void mlpack::AdaBoost::Classify(const MatType&, arma::Row&, arma::Mat&) const [with WeakLearnerType = mlpack::DecisionTree; MatType = arma::Mat; typename parent::elem_type = double]’: ../inst/include/mlpack/methods/adaboost/adaboost_model_impl.hpp:144:22: required from here 144 | dsBoost->Classify(testData, predictions, probabilities); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/adaboost/adaboost_impl.hpp:207:29: warning: ‘eT arma::subview_col::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 207 | probabilities.col(i).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:679: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/subview_meat.hpp:3852:1: note: declared here 3852 | subview_col::max(uword& index_of_max_val) const | ^~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/adaboost/adaboost_impl.hpp: In instantiation of ‘void mlpack::AdaBoost::Classify(const MatType&, arma::Row&, arma::Mat&) const [with WeakLearnerType = mlpack::Perceptron<>; MatType = arma::Mat; typename parent::elem_type = double]’: ../inst/include/mlpack/methods/adaboost/adaboost_model_impl.hpp:146:21: required from here 146 | pBoost->Classify(testData, predictions, probabilities); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/adaboost/adaboost_impl.hpp:207:29: warning: ‘eT arma::subview_col::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 207 | probabilities.col(i).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/subview_meat.hpp:3852:1: note: declared here 3852 | subview_col::max(uword& index_of_max_val) const | ^~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/methods/perceptron/perceptron.hpp:246, from ../inst/include/mlpack/methods/adaboost/adaboost.hpp:32: ../inst/include/mlpack/methods/perceptron/perceptron_impl.hpp: In instantiation of ‘void mlpack::Perceptron::Classify(const MatType&, arma::Row&) const [with LearnPolicy = mlpack::SimpleWeightUpdate; WeightInitializationPolicy = mlpack::ZeroInitialization; MatType = arma::Mat]’: ../inst/include/mlpack/methods/adaboost/adaboost_impl.hpp:196:19: required from ‘void mlpack::AdaBoost::Classify(const MatType&, arma::Row&, arma::Mat&) const [with WeakLearnerType = mlpack::Perceptron<>; MatType = arma::Mat; typename parent::elem_type = double]’ 196 | wl[i].Classify(test, predictedLabels); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/adaboost/adaboost_model_impl.hpp:146:21: required from here 146 | pBoost->Classify(testData, predictions, probabilities); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/perceptron/perceptron_impl.hpp:327:21: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 327 | tempLabelMat.max(maxIndex); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:545:52: note: declared here 545 | arma_frown("use .index_max() instead") inline eT max(uword& index_of_max_val) const; | ^~~ ../inst/include/mlpack/methods/perceptron/perceptron_impl.hpp: In instantiation of ‘void mlpack::Perceptron::TrainInternal(const MatType&, const arma::Row&, size_t, const WeightsType&) [with bool HasWeights = true; WeightsType = arma::Row; LearnPolicy = mlpack::SimpleWeightUpdate; WeightInitializationPolicy = mlpack::ZeroInitialization; MatType = arma::Mat; size_t = long unsigned int]’: ../inst/include/mlpack/methods/perceptron/perceptron_impl.hpp:91:22: required from ‘mlpack::Perceptron::Perceptron(const MatType&, const arma::Row&, size_t, const WeightsType&, size_t, const typename std::enable_if::value>::type*) [with WeightsType = arma::Row; LearnPolicy = mlpack::SimpleWeightUpdate; WeightInitializationPolicy = mlpack::ZeroInitialization; MatType = arma::Mat; size_t = long unsigned int; typename std::enable_if::value>::type = void]’ 91 | TrainInternal(data, labels, numClasses, instanceWeights); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/adaboost/adaboost_impl.hpp:320:12: required from ‘static WeakLearnerType mlpack::WeakLearnerTrainer::Train(const MatType&, const arma::Row&, size_t, const WeightsType&, const WeakLearnerType&, WeakLearnerArgs&& ...) [with MatType = arma::Mat; WeightsType = arma::Row; WeakLearnerType = mlpack::Perceptron<>; WeakLearnerArgs = {}; size_t = long unsigned int]’ 320 | return WeakLearnerType(data, labels, numClasses, weights, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 321 | weakLearnerArgs...); | ~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/adaboost/adaboost_impl.hpp:388:13: required from ‘typename MatType::elem_type mlpack::AdaBoost::TrainInternal(const MatType&, const arma::Row&, size_t, const WeakLearnerType&, WeakLearnerArgs&& ...) [with bool UseExistingWeakLearner = false; WeakLearnerArgs = {}; WeakLearnerType = mlpack::Perceptron<>; MatType = arma::Mat; typename MatType::elem_type = double; size_t = long unsigned int]’ 385 | WeakLearnerType w = WeakLearnerTrainer< | ~~~~~~~~~~~~~~~~~~~ 386 | UseExistingWeakLearner, MatType, arma::Row, WeakLearnerType, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 387 | WeakLearnerArgs... | ~~~~~~~~~~~~~~~~~~ 388 | >::Train(tempData, labels, numClasses, weights, other, weakLearnerArgs...); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/adaboost/adaboost_impl.hpp:90:30: required from ‘mlpack::AdaBoost::AdaBoost(const MatType&, const arma::Row&, size_t, size_t, typename MatType::elem_type, WeakLearnerArgs&& ...) [with WeakLearnerArgs = {}; WeakLearnerType = mlpack::Perceptron<>; MatType = arma::Mat; size_t = long unsigned int; typename MatType::elem_type = double]’ 90 | (void) TrainInternal(data, labels, numClasses, other, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | weakLearnerArgs...); | ~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/adaboost/adaboost_model_impl.hpp:134:18: required from here 134 | tolerance); | ^ ../inst/include/mlpack/methods/perceptron/perceptron_impl.hpp:249:23: warning: ‘eT arma::Mat::max(arma::uword&, arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated [-Wdeprecated-declarations] 249 | tempLabelMat.max(maxIndexRow, maxIndexCol); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:548:29: note: declared here 548 | arma_deprecated inline eT max(uword& row_of_max_val, uword& col_of_max_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/decision_tree/decision_tree.hpp:607, from ../inst/include/mlpack/methods/adaboost/adaboost.hpp:33: ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In instantiation of ‘void mlpack::DecisionTree::CalculateClassProbabilities(const RowType&, size_t, const WeightsRowType&) [with bool UseWeights = true; RowType = arma::subview_row; WeightsRowType = arma::Row; FitnessFunction = mlpack::InformationGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::AllDimensionSelect; bool NoRecursion = true; size_t = long unsigned int]’: ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:943:44: required from ‘double mlpack::DecisionTree::Train(MatType&, size_t, size_t, arma::Row&, size_t, WeightsType&, size_t, double, size_t, DimensionSelectionType&) [with bool UseWeights = true; MatType = arma::Mat; WeightsType = arma::Row; FitnessFunction = mlpack::InformationGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::AllDimensionSelect; bool NoRecursion = true; size_t = long unsigned int]’ 943 | CalculateClassProbabilities( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 944 | labels.subvec(begin, begin + count - 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 945 | numClasses, | ~~~~~~~~~~~ 946 | UseWeights ? weights.subvec(begin, begin + count - 1) : weights); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:171:14: required from ‘mlpack::DecisionTree::DecisionTree(MatType, LabelsType, size_t, WeightsType, size_t, double, size_t, DimensionSelectionType, std::enable_if_t<((bool)arma::is_arma_type::type>::value)>*) [with MatType = arma::Mat; LabelsType = arma::Row; WeightsType = arma::Row; FitnessFunction = mlpack::InformationGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::AllDimensionSelect; bool NoRecursion = true; size_t = long unsigned int; std::enable_if_t<((bool)arma::is_arma_type::type>::value)> = void; typename std::remove_reference::type = arma::Row]’ 171 | Train(tmpData, 0, tmpData.n_cols, tmpLabels, numClasses, tmpWeights, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 172 | minimumLeafSize, minimumGainSplit, maximumDepth, dimensionSelector); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/adaboost/adaboost_impl.hpp:320:12: required from ‘static WeakLearnerType mlpack::WeakLearnerTrainer::Train(const MatType&, const arma::Row&, size_t, const WeightsType&, const WeakLearnerType&, WeakLearnerArgs&& ...) [with MatType = arma::Mat; WeightsType = arma::Row; WeakLearnerType = mlpack::DecisionTree; WeakLearnerArgs = {}; size_t = long unsigned int]’ 320 | return WeakLearnerType(data, labels, numClasses, weights, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 321 | weakLearnerArgs...); | ~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/adaboost/adaboost_impl.hpp:388:13: required from ‘typename MatType::elem_type mlpack::AdaBoost::TrainInternal(const MatType&, const arma::Row&, size_t, const WeakLearnerType&, WeakLearnerArgs&& ...) [with bool UseExistingWeakLearner = false; WeakLearnerArgs = {}; WeakLearnerType = mlpack::DecisionTree; MatType = arma::Mat; typename MatType::elem_type = double; size_t = long unsigned int]’ 385 | WeakLearnerType w = WeakLearnerTrainer< | ~~~~~~~~~~~~~~~~~~~ 386 | UseExistingWeakLearner, MatType, arma::Row, WeakLearnerType, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 387 | WeakLearnerArgs... | ~~~~~~~~~~~~~~~~~~ 388 | >::Train(tempData, labels, numClasses, weights, other, weakLearnerArgs...); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/adaboost/adaboost_impl.hpp:90:30: required from ‘mlpack::AdaBoost::AdaBoost(const MatType&, const arma::Row&, size_t, size_t, typename MatType::elem_type, WeakLearnerArgs&& ...) [with WeakLearnerArgs = {}; WeakLearnerType = mlpack::DecisionTree; MatType = arma::Mat; size_t = long unsigned int; typename MatType::elem_type = double]’ 90 | (void) TrainInternal(data, labels, numClasses, other, | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 91 | weakLearnerArgs...); | ~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/adaboost/adaboost_model_impl.hpp:128:30: required from here 128 | iterations, tolerance); | ^ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:1168:25: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 1168 | classProbabilities.max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:669: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:1168:25: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 1168 | classProbabilities.max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c approx_kfn.cpp -o approx_kfn.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/approx_kfn/approx_kfn_main.cpp:12, from approx_kfn.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/approx_kfn/drusilla_select.hpp:126, from ../inst/include/mlpack/methods/approx_kfn/approx_kfn_main.cpp:20: ../inst/include/mlpack/methods/approx_kfn/drusilla_select_impl.hpp: In instantiation of ‘void mlpack::DrusillaSelect::Train(const MatType&, size_t, size_t) [with MatType = arma::Mat; size_t = long unsigned int]’: ../inst/include/mlpack/methods/approx_kfn/drusilla_select_impl.hpp:43:3: required from ‘mlpack::DrusillaSelect::DrusillaSelect(const MatType&, size_t, size_t) [with MatType = arma::Mat; size_t = long unsigned int]’ 43 | Train(referenceSet, l, m); | ^~~~~ ../inst/include/mlpack/methods/approx_kfn/approx_kfn_main.cpp:252:71: required from here 252 | m->ds = DrusillaSelect<>(referenceSet, numTables, numProjections); | ^ ../inst/include/mlpack/methods/approx_kfn/drusilla_select_impl.hpp:98:14: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 98 | norms.max(maxIndex); | ~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:545:52: note: declared here 545 | arma_frown("use .index_max() instead") inline eT max(uword& index_of_max_val) const; | ^~~ ../inst/include/mlpack/methods/approx_kfn/drusilla_select_impl.hpp:98:14: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 98 | norms.max(maxIndex); | ~~~~~~~~~^~~~~~~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:669: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c bayesian_linear_regression.cpp -o bayesian_linear_regression.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/bayesian_linear_regression/bayesian_linear_regression_main.cpp:12, from bayesian_linear_regression.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c cf.cpp -o cf.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/cf/cf_main.cpp:12, from cf.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c dbscan.cpp -o dbscan.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/dbscan/dbscan_main.cpp:12, from dbscan.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c decision_tree.cpp -o decision_tree.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/decision_tree/decision_tree_main.cpp:12, from decision_tree.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/decision_tree/decision_tree.hpp:607, from ../inst/include/mlpack/methods/decision_tree/decision_tree_main.cpp:18: ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In instantiation of ‘void mlpack::DecisionTree::CalculateClassProbabilities(const RowType&, size_t, const WeightsRowType&) [with bool UseWeights = true; RowType = arma::subview_row; WeightsRowType = arma::Row; FitnessFunction = mlpack::GiniGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::AllDimensionSelect; bool NoRecursion = false; size_t = long unsigned int]’: ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:786:44: required from ‘double mlpack::DecisionTree::Train(MatType&, size_t, size_t, const mlpack::data::DatasetInfo&, arma::Row&, size_t, WeightsType&, size_t, double, size_t, DimensionSelectionType&) [with bool UseWeights = true; MatType = arma::Mat; WeightsType = arma::Row; FitnessFunction = mlpack::GiniGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::AllDimensionSelect; bool NoRecursion = false; size_t = long unsigned int; mlpack::data::DatasetInfo = mlpack::data::DatasetMapper >]’ 786 | CalculateClassProbabilities( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 787 | labels.subvec(begin, begin + count - 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 788 | numClasses, | ~~~~~~~~~~~ 789 | UseWeights ? weights.subvec(begin, begin + count - 1) : weights); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:130:14: required from ‘mlpack::DecisionTree::DecisionTree(MatType, const mlpack::data::DatasetInfo&, LabelsType, size_t, WeightsType, size_t, double, size_t, DimensionSelectionType, std::enable_if_t<((bool)arma::is_arma_type::type>::value)>*) [with MatType = arma::Mat; LabelsType = arma::Row; WeightsType = arma::Row; FitnessFunction = mlpack::GiniGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::AllDimensionSelect; bool NoRecursion = false; mlpack::data::DatasetInfo = mlpack::data::DatasetMapper >; size_t = long unsigned int; std::enable_if_t<((bool)arma::is_arma_type::type>::value)> = void; typename std::remove_reference::type = arma::Row]’ 130 | Train(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 131 | tmpWeights, minimumLeafSize, minimumGainSplit, maximumDepth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 132 | dimensionSelector); | ~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_main.cpp:220:21: required from here 220 | maxDepth); | ^ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:1168:25: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 1168 | classProbabilities.max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:545:52: note: declared here 545 | arma_frown("use .index_max() instead") inline eT max(uword& index_of_max_val) const; | ^~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:1168:25: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 1168 | classProbabilities.max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:669: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In instantiation of ‘void mlpack::DecisionTree::CalculateClassProbabilities(const RowType&, size_t, const WeightsRowType&) [with bool UseWeights = false; RowType = arma::subview_row; WeightsRowType = arma::Row; FitnessFunction = mlpack::GiniGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::AllDimensionSelect; bool NoRecursion = false; size_t = long unsigned int]’: ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:786:44: required from ‘double mlpack::DecisionTree::Train(MatType&, size_t, size_t, const mlpack::data::DatasetInfo&, arma::Row&, size_t, WeightsType&, size_t, double, size_t, DimensionSelectionType&) [with bool UseWeights = false; MatType = arma::Mat; WeightsType = arma::Row; FitnessFunction = mlpack::GiniGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::AllDimensionSelect; bool NoRecursion = false; size_t = long unsigned int; mlpack::data::DatasetInfo = mlpack::data::DatasetMapper >]’ 786 | CalculateClassProbabilities( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 787 | labels.subvec(begin, begin + count - 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 788 | numClasses, | ~~~~~~~~~~~ 789 | UseWeights ? weights.subvec(begin, begin + count - 1) : weights); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:52:15: required from ‘mlpack::DecisionTree::DecisionTree(MatType, const mlpack::data::DatasetInfo&, LabelsType, size_t, size_t, double, size_t, DimensionSelectionType) [with MatType = arma::Mat; LabelsType = arma::Row; FitnessFunction = mlpack::GiniGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::AllDimensionSelect; bool NoRecursion = false; mlpack::data::DatasetInfo = mlpack::data::DatasetMapper >; size_t = long unsigned int]’ 52 | Train(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, numClasses, | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 53 | weights, minimumLeafSize, minimumGainSplit, maximumDepth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 54 | dimensionSelector); | ~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_main.cpp:234:64: required from here 234 | numClasses, minLeafSize, minimumGainSplit, maxDepth); | ^ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:1168:25: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 1168 | classProbabilities.max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:1168:25: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 1168 | classProbabilities.max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c det.cpp -o det.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/det/det_main.cpp:12, from det.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c emst.cpp -o emst.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/emst/emst_main.cpp:27, from emst.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c fastmks.cpp -o fastmks.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/fastmks/fastmks_main.cpp:12, from fastmks.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c gmm_generate.cpp -o gmm_generate.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/gmm/gmm_generate_main.cpp:12, from gmm_generate.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c gmm_probability.cpp -o gmm_probability.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/gmm/gmm_probability_main.cpp:12, from gmm_probability.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c gmm_train.cpp -o gmm_train.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/gmm/gmm_train_main.cpp:12, from gmm_train.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster.hpp:79, from ../inst/include/mlpack/methods/kmeans/kmeans.hpp:23, from ../inst/include/mlpack/methods/gmm/em_fit.hpp:21, from ../inst/include/mlpack/methods/gmm/gmm.hpp:25, from ../inst/include/mlpack/methods/gmm/gmm_train_main.cpp:19: ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp: In instantiation of ‘void mlpack::MaxVarianceNewCluster::EmptyCluster(const MatType&, size_t, const arma::mat&, arma::mat&, arma::Col&, DistanceType&, size_t) [with DistanceType = mlpack::LMetric<2, false>; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’: ../inst/include/mlpack/methods/kmeans/kmeans_impl.hpp:224:42: required from ‘void mlpack::KMeans::Cluster(const MatType&, size_t, arma::mat&, bool) [with DistanceType = mlpack::LMetric<2, false>; InitialPartitionPolicy = mlpack::RefinedStart; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster; LloydStepType = mlpack::NaiveKMeans; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’ 224 | emptyClusterAction.EmptyCluster(data, i, centroids, centroidsOther, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 225 | counts, distance, iteration); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/kmeans_impl.hpp:301:10: required from ‘void mlpack::KMeans::Cluster(const MatType&, size_t, arma::Row&, arma::mat&, bool, bool) [with DistanceType = mlpack::LMetric<2, false>; InitialPartitionPolicy = mlpack::RefinedStart; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster; LloydStepType = mlpack::NaiveKMeans; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’ 301 | Cluster(data, clusters, centroids, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 302 | initialAssignmentGuess || initialCentroidGuess); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/kmeans_impl.hpp:130:10: required from ‘void mlpack::KMeans::Cluster(const MatType&, size_t, arma::Row&, bool) [with DistanceType = mlpack::LMetric<2, false>; InitialPartitionPolicy = mlpack::RefinedStart; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster; LloydStepType = mlpack::NaiveKMeans; MatType = arma::Mat; size_t = long unsigned int]’ 130 | Cluster(data, clusters, assignments, centroids, initialGuess); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/gmm/em_fit_impl.hpp:290:20: required from ‘void mlpack::EMFit::InitialClustering(const arma::mat&, std::vector&, arma::vec&) [with InitialClusteringType = mlpack::KMeans, mlpack::RefinedStart>; CovarianceConstraintPolicy = mlpack::PositiveDefiniteConstraint; Distribution = mlpack::DiagonalGaussianDistribution<>; arma::mat = arma::Mat; arma::vec = arma::Col]’ 290 | clusterer.Cluster(observations, dists.size(), assignments); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/gmm/em_fit_impl.hpp:70:5: required from ‘void mlpack::EMFit::Estimate(const arma::mat&, std::vector&, arma::vec&, bool) [with InitialClusteringType = mlpack::KMeans, mlpack::RefinedStart>; CovarianceConstraintPolicy = mlpack::PositiveDefiniteConstraint; Distribution = mlpack::DiagonalGaussianDistribution<>; arma::mat = arma::Mat; arma::vec = arma::Col]’ 70 | InitialClustering(observations, dists, weights); | ^~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/gmm/diagonal_gmm_impl.hpp:36:20: required from ‘double mlpack::DiagonalGMM::Train(const arma::mat&, size_t, bool, FittingType) [with FittingType = mlpack::EMFit, mlpack::RefinedStart>, mlpack::PositiveDefiniteConstraint, mlpack::DiagonalGaussianDistribution<> >; arma::mat = arma::Mat; size_t = long unsigned int]’ 36 | fitter.Estimate(observations, dists, weights, useExistingModel); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/gmm/gmm_train_main.cpp:255:30: required from here 255 | likelihood = dgmm.Train(dataPoints, params.Get("trials"), false, | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 256 | em); | ~~~ ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp:39:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 39 | variances.max(maxVarCluster); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:545:52: note: declared here 545 | arma_frown("use .index_max() instead") inline eT max(uword& index_of_max_val) const; | ^~~ ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp:39:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 39 | variances.max(maxVarCluster); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:669: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp: In instantiation of ‘void mlpack::MaxVarianceNewCluster::EmptyCluster(const MatType&, size_t, const arma::mat&, arma::mat&, arma::Col&, DistanceType&, size_t) [with DistanceType = mlpack::LMetric<2, true>; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’: ../inst/include/mlpack/methods/kmeans/kmeans_impl.hpp:224:42: required from ‘void mlpack::KMeans::Cluster(const MatType&, size_t, arma::mat&, bool) [with DistanceType = mlpack::LMetric<2, true>; InitialPartitionPolicy = mlpack::SampleInitialization; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster; LloydStepType = mlpack::NaiveKMeans; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’ 224 | emptyClusterAction.EmptyCluster(data, i, centroids, centroidsOther, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 225 | counts, distance, iteration); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/kmeans_impl.hpp:301:10: required from ‘void mlpack::KMeans::Cluster(const MatType&, size_t, arma::Row&, arma::mat&, bool, bool) [with DistanceType = mlpack::LMetric<2, true>; InitialPartitionPolicy = mlpack::SampleInitialization; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster; LloydStepType = mlpack::NaiveKMeans; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’ 301 | Cluster(data, clusters, centroids, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 302 | initialAssignmentGuess || initialCentroidGuess); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/kmeans_impl.hpp:130:10: required from ‘void mlpack::KMeans::Cluster(const MatType&, size_t, arma::Row&, bool) [with DistanceType = mlpack::LMetric<2, true>; InitialPartitionPolicy = mlpack::SampleInitialization; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster; LloydStepType = mlpack::NaiveKMeans; MatType = arma::Mat; size_t = long unsigned int]’ 130 | Cluster(data, clusters, assignments, centroids, initialGuess); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/gmm/em_fit_impl.hpp:290:20: required from ‘void mlpack::EMFit::InitialClustering(const arma::mat&, std::vector&, arma::vec&) [with InitialClusteringType = mlpack::KMeans<>; CovarianceConstraintPolicy = mlpack::PositiveDefiniteConstraint; Distribution = mlpack::DiagonalGaussianDistribution<>; arma::mat = arma::Mat; arma::vec = arma::Col]’ 290 | clusterer.Cluster(observations, dists.size(), assignments); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/gmm/em_fit_impl.hpp:70:5: required from ‘void mlpack::EMFit::Estimate(const arma::mat&, std::vector&, arma::vec&, bool) [with InitialClusteringType = mlpack::KMeans<>; CovarianceConstraintPolicy = mlpack::PositiveDefiniteConstraint; Distribution = mlpack::DiagonalGaussianDistribution<>; arma::mat = arma::Mat; arma::vec = arma::Col]’ 70 | InitialClustering(observations, dists, weights); | ^~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/gmm/diagonal_gmm_impl.hpp:36:20: required from ‘double mlpack::DiagonalGMM::Train(const arma::mat&, size_t, bool, FittingType) [with FittingType = mlpack::EMFit, mlpack::PositiveDefiniteConstraint, mlpack::DiagonalGaussianDistribution<> >; arma::mat = arma::Mat; size_t = long unsigned int]’ 36 | fitter.Estimate(observations, dists, weights, useExistingModel); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/gmm/gmm_train_main.cpp:313:30: required from here 313 | likelihood = dgmm.Train(dataPoints, params.Get("trials"), false, | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 314 | em); | ~~~ ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp:39:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 39 | variances.max(maxVarCluster); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp:39:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 39 | variances.max(maxVarCluster); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c hmm_generate.cpp -o hmm_generate.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/hmm/hmm_generate_main.cpp:14, from hmm_generate.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c hmm_loglik.cpp -o hmm_loglik.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/hmm/hmm_loglik_main.cpp:12, from hmm_loglik.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c hmm_train.cpp -o hmm_train.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/hmm/hmm_train_main.cpp:12, from hmm_train.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster.hpp:79, from ../inst/include/mlpack/methods/kmeans/kmeans.hpp:23, from ../inst/include/mlpack/methods/gmm/em_fit.hpp:21, from ../inst/include/mlpack/methods/gmm/gmm.hpp:25, from ../inst/include/mlpack/methods/hmm/hmm_model.hpp:16, from ../inst/include/mlpack/methods/hmm/hmm_train_main.cpp:20: ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp: In instantiation of ‘void mlpack::MaxVarianceNewCluster::EmptyCluster(const MatType&, size_t, const arma::mat&, arma::mat&, arma::Col&, DistanceType&, size_t) [with DistanceType = mlpack::LMetric<2, true>; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’: ../inst/include/mlpack/methods/kmeans/kmeans_impl.hpp:224:42: required from ‘void mlpack::KMeans::Cluster(const MatType&, size_t, arma::mat&, bool) [with DistanceType = mlpack::LMetric<2, true>; InitialPartitionPolicy = mlpack::SampleInitialization; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster; LloydStepType = mlpack::NaiveKMeans; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’ 224 | emptyClusterAction.EmptyCluster(data, i, centroids, centroidsOther, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 225 | counts, distance, iteration); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/kmeans_impl.hpp:301:10: required from ‘void mlpack::KMeans::Cluster(const MatType&, size_t, arma::Row&, arma::mat&, bool, bool) [with DistanceType = mlpack::LMetric<2, true>; InitialPartitionPolicy = mlpack::SampleInitialization; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster; LloydStepType = mlpack::NaiveKMeans; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’ 301 | Cluster(data, clusters, centroids, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 302 | initialAssignmentGuess || initialCentroidGuess); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/kmeans_impl.hpp:130:10: required from ‘void mlpack::KMeans::Cluster(const MatType&, size_t, arma::Row&, bool) [with DistanceType = mlpack::LMetric<2, true>; InitialPartitionPolicy = mlpack::SampleInitialization; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster; LloydStepType = mlpack::NaiveKMeans; MatType = arma::Mat; size_t = long unsigned int]’ 130 | Cluster(data, clusters, assignments, centroids, initialGuess); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/gmm/em_fit_impl.hpp:290:20: required from ‘void mlpack::EMFit::InitialClustering(const arma::mat&, std::vector&, arma::vec&) [with InitialClusteringType = mlpack::KMeans<>; CovarianceConstraintPolicy = mlpack::PositiveDefiniteConstraint; Distribution = mlpack::GaussianDistribution<>; arma::mat = arma::Mat; arma::vec = arma::Col]’ 290 | clusterer.Cluster(observations, dists.size(), assignments); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/gmm/em_fit_impl.hpp:70:5: required from ‘void mlpack::EMFit::Estimate(const arma::mat&, std::vector&, arma::vec&, bool) [with InitialClusteringType = mlpack::KMeans<>; CovarianceConstraintPolicy = mlpack::PositiveDefiniteConstraint; Distribution = mlpack::GaussianDistribution<>; arma::mat = arma::Mat; arma::vec = arma::Col]’ 70 | InitialClustering(observations, dists, weights); | ^~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/gmm/gmm_impl.hpp:265:20: required from ‘double mlpack::GMM::Train(const arma::mat&, size_t, bool, FittingType) [with FittingType = mlpack::EMFit<>; arma::mat = arma::Mat; size_t = long unsigned int]’ 265 | fitter.Estimate(observations, dists, weights, useExistingModel); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:333:28: required from ‘void mlpack::HMM::Train(const std::vector >&, const std::vector >&) [with Distribution = mlpack::GMM]’ 333 | emission[state].Train(emissions); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_train_main.cpp:423:16: required from ‘static void Train::Apply(mlpack::util::Params&, HMMType&, std::vector >*) [with HMMType = mlpack::HMM]’ 423 | hmm.Train(trainSeq, labelSeq); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_model.hpp:174:24: required from ‘void mlpack::HMMModel::PerformAction(mlpack::util::Params&, ExtraInfoType*) [with ActionType = Train; ExtraInfoType = std::vector >]’ 174 | ActionType::Apply(params, *gmmHMM, x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_train_main.cpp:539:43: required from here 539 | hmm->PerformAction>(params, &trainSeq); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp:39:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 39 | variances.max(maxVarCluster); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:545:52: note: declared here 545 | arma_frown("use .index_max() instead") inline eT max(uword& index_of_max_val) const; | ^~~ ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp:39:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 39 | variances.max(maxVarCluster); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:669: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c hmm_viterbi.cpp -o hmm_viterbi.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/hmm/hmm_viterbi_main.cpp:13, from hmm_viterbi.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/hmm/hmm.hpp:549, from ../inst/include/mlpack/methods/hmm/hmm_viterbi_main.cpp:20: ../inst/include/mlpack/methods/hmm/hmm_impl.hpp: In instantiation of ‘double mlpack::HMM::Predict(const arma::mat&, arma::Row&) const [with Distribution = mlpack::DiscreteDistribution<>; arma::mat = arma::Mat]’: ../inst/include/mlpack/methods/hmm/hmm_viterbi_main.cpp:98:16: required from ‘static void Viterbi::Apply(mlpack::util::Params&, HMMType&, void*) [with HMMType = mlpack::HMM >]’ 98 | hmm.Predict(dataSeq, sequence); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_model.hpp:170:24: required from ‘void mlpack::HMMModel::PerformAction(mlpack::util::Params&, ExtraInfoType*) [with ActionType = Viterbi; ExtraInfoType = void]’ 170 | ActionType::Apply(params, *discreteHMM, x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_viterbi_main.cpp:110:63: required from here 110 | params.Get("input_model")->PerformAction( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 111 | params, (void*) NULL); | ~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:531:36: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 531 | logStateProb(j, t) = prob.max(index) + logProbs(t, j); | ~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:545:52: note: declared here 545 | arma_frown("use .index_max() instead") inline eT max(uword& index_of_max_val) const; | ^~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:531:36: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 531 | logStateProb(j, t) = prob.max(index) + logProbs(t, j); | ~~~~~~~~^~~~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:669: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:537:50: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 537 | logStateProb.unsafe_col(dataSeq.n_cols - 1).max(index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:537:50: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 537 | logStateProb.unsafe_col(dataSeq.n_cols - 1).max(index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp: In instantiation of ‘double mlpack::HMM::Predict(const arma::mat&, arma::Row&) const [with Distribution = mlpack::GaussianDistribution<>; arma::mat = arma::Mat]’: ../inst/include/mlpack/methods/hmm/hmm_viterbi_main.cpp:98:16: required from ‘static void Viterbi::Apply(mlpack::util::Params&, HMMType&, void*) [with HMMType = mlpack::HMM >]’ 98 | hmm.Predict(dataSeq, sequence); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_model.hpp:172:24: required from ‘void mlpack::HMMModel::PerformAction(mlpack::util::Params&, ExtraInfoType*) [with ActionType = Viterbi; ExtraInfoType = void]’ 172 | ActionType::Apply(params, *gaussianHMM, x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_viterbi_main.cpp:110:63: required from here 110 | params.Get("input_model")->PerformAction( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 111 | params, (void*) NULL); | ~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:531:36: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 531 | logStateProb(j, t) = prob.max(index) + logProbs(t, j); | ~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:531:36: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 531 | logStateProb(j, t) = prob.max(index) + logProbs(t, j); | ~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:537:50: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 537 | logStateProb.unsafe_col(dataSeq.n_cols - 1).max(index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:537:50: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 537 | logStateProb.unsafe_col(dataSeq.n_cols - 1).max(index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp: In instantiation of ‘double mlpack::HMM::Predict(const arma::mat&, arma::Row&) const [with Distribution = mlpack::GMM; arma::mat = arma::Mat]’: ../inst/include/mlpack/methods/hmm/hmm_viterbi_main.cpp:98:16: required from ‘static void Viterbi::Apply(mlpack::util::Params&, HMMType&, void*) [with HMMType = mlpack::HMM]’ 98 | hmm.Predict(dataSeq, sequence); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_model.hpp:174:24: required from ‘void mlpack::HMMModel::PerformAction(mlpack::util::Params&, ExtraInfoType*) [with ActionType = Viterbi; ExtraInfoType = void]’ 174 | ActionType::Apply(params, *gmmHMM, x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_viterbi_main.cpp:110:63: required from here 110 | params.Get("input_model")->PerformAction( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 111 | params, (void*) NULL); | ~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:531:36: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 531 | logStateProb(j, t) = prob.max(index) + logProbs(t, j); | ~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:531:36: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 531 | logStateProb(j, t) = prob.max(index) + logProbs(t, j); | ~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:537:50: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 537 | logStateProb.unsafe_col(dataSeq.n_cols - 1).max(index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:537:50: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 537 | logStateProb.unsafe_col(dataSeq.n_cols - 1).max(index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp: In instantiation of ‘double mlpack::HMM::Predict(const arma::mat&, arma::Row&) const [with Distribution = mlpack::DiagonalGMM; arma::mat = arma::Mat]’: ../inst/include/mlpack/methods/hmm/hmm_viterbi_main.cpp:98:16: required from ‘static void Viterbi::Apply(mlpack::util::Params&, HMMType&, void*) [with HMMType = mlpack::HMM]’ 98 | hmm.Predict(dataSeq, sequence); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_model.hpp:176:24: required from ‘void mlpack::HMMModel::PerformAction(mlpack::util::Params&, ExtraInfoType*) [with ActionType = Viterbi; ExtraInfoType = void]’ 176 | ActionType::Apply(params, *diagGMMHMM, x); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_viterbi_main.cpp:110:63: required from here 110 | params.Get("input_model")->PerformAction( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 111 | params, (void*) NULL); | ~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:531:36: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 531 | logStateProb(j, t) = prob.max(index) + logProbs(t, j); | ~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:531:36: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 531 | logStateProb(j, t) = prob.max(index) + logProbs(t, j); | ~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:537:50: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 537 | logStateProb.unsafe_col(dataSeq.n_cols - 1).max(index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hmm/hmm_impl.hpp:537:50: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 537 | logStateProb.unsafe_col(dataSeq.n_cols - 1).max(index); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c hoeffding_tree.cpp -o hoeffding_tree.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp:12, from hoeffding_tree.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split.hpp:125, from ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree.hpp:27, from ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp:19: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp: In instantiation of ‘size_t mlpack::HoeffdingCategoricalSplit::MajorityClass() const [with FitnessFunction = mlpack::GiniImpurity; size_t = long unsigned int]’: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:608:57: required from ‘void mlpack::HoeffdingTree::Train(const VecType&, size_t) [with VecType = arma::subview_col; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 608 | majorityClass = categoricalSplits[0].MajorityClass(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1191:12: required from ‘void mlpack::HoeffdingTree::TrainInternal(const MatType&, const arma::Row&, bool) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 1191 | Train(data.col(i), labels[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:501:16: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, double, size_t, size_t, size_t) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 501 | TrainInternal(data, labels, batchTraining); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:447:8: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, std::optional, std::optional, std::optional) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 447 | Train(data, labels, numClasses, batchTraining, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | (successProbability.has_value()) ? successProbability.value() : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | this->successProbability, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | (maxSamples.has_value()) ? maxSamples.value() : this->maxSamples, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | (checkInterval.has_value()) ? checkInterval.value() : this->checkInterval, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 452 | this->minSamples); | ~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_model_impl.hpp:201:31: required from here 201 | giniHoeffdingTree->Train(dataset, labels, giniHoeffdingTree->NumClasses(), | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 202 | batchTraining); | ~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp:83:18: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 83 | classCounts.max(maxIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:669: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp:83:18: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 83 | classCounts.max(maxIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split.hpp:156, from ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree.hpp:24: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp: In instantiation of ‘size_t mlpack::HoeffdingNumericSplit::MajorityClass() const [with FitnessFunction = mlpack::GiniImpurity; ObservationType = double; size_t = long unsigned int]’: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:613:53: required from ‘void mlpack::HoeffdingTree::Train(const VecType&, size_t) [with VecType = arma::subview_col; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 613 | majorityClass = numericSplits[0].MajorityClass(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1191:12: required from ‘void mlpack::HoeffdingTree::TrainInternal(const MatType&, const arma::Row&, bool) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 1191 | Train(data.col(i), labels[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:501:16: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, double, size_t, size_t, size_t) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 501 | TrainInternal(data, labels, batchTraining); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:447:8: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, std::optional, std::optional, std::optional) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 447 | Train(data, labels, numClasses, batchTraining, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | (successProbability.has_value()) ? successProbability.value() : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | this->successProbability, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | (maxSamples.has_value()) ? maxSamples.value() : this->maxSamples, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | (checkInterval.has_value()) ? checkInterval.value() : this->checkInterval, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 452 | this->minSamples); | ~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_model_impl.hpp:201:31: required from here 201 | giniHoeffdingTree->Train(dataset, labels, giniHoeffdingTree->NumClasses(), | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 202 | batchTraining); | ~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:148:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 148 | classes.max(majorityClass); | ~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:148:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 148 | classes.max(majorityClass); | ~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:158:20: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 158 | classCounts.max(maxIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:158:20: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 158 | classCounts.max(maxIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split.hpp:132, from ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree.hpp:25: ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp: In instantiation of ‘size_t mlpack::BinaryNumericSplit::MajorityClass() const [with FitnessFunction = mlpack::GiniImpurity; ObservationType = double; size_t = long unsigned int]’: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:613:53: required from ‘void mlpack::HoeffdingTree::Train(const VecType&, size_t) [with VecType = arma::subview_col; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 613 | majorityClass = numericSplits[0].MajorityClass(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1191:12: required from ‘void mlpack::HoeffdingTree::TrainInternal(const MatType&, const arma::Row&, bool) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 1191 | Train(data.col(i), labels[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:501:16: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, double, size_t, size_t, size_t) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 501 | TrainInternal(data, labels, batchTraining); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:447:8: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, std::optional, std::optional, std::optional) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 447 | Train(data, labels, numClasses, batchTraining, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | (successProbability.has_value()) ? successProbability.value() : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | this->successProbability, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | (maxSamples.has_value()) ? maxSamples.value() : this->maxSamples, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | (checkInterval.has_value()) ? checkInterval.value() : this->checkInterval, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 452 | this->minSamples); | ~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_model_impl.hpp:206:28: required from here 206 | giniBinaryTree->Train(dataset, labels, giniBinaryTree->NumClasses(), | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | batchTraining); | ~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:159:18: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 159 | classCounts.max(maxIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:159:18: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 159 | classCounts.max(maxIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp: In instantiation of ‘size_t mlpack::HoeffdingCategoricalSplit::MajorityClass() const [with FitnessFunction = mlpack::HoeffdingInformationGain; size_t = long unsigned int]’: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:608:57: required from ‘void mlpack::HoeffdingTree::Train(const VecType&, size_t) [with VecType = arma::subview_col; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 608 | majorityClass = categoricalSplits[0].MajorityClass(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1191:12: required from ‘void mlpack::HoeffdingTree::TrainInternal(const MatType&, const arma::Row&, bool) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 1191 | Train(data.col(i), labels[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:501:16: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, double, size_t, size_t, size_t) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 501 | TrainInternal(data, labels, batchTraining); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:447:8: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, std::optional, std::optional, std::optional) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 447 | Train(data, labels, numClasses, batchTraining, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | (successProbability.has_value()) ? successProbability.value() : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | this->successProbability, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | (maxSamples.has_value()) ? maxSamples.value() : this->maxSamples, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | (checkInterval.has_value()) ? checkInterval.value() : this->checkInterval, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 452 | this->minSamples); | ~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_model_impl.hpp:211:31: required from here 211 | infoHoeffdingTree->Train(dataset, labels, infoHoeffdingTree->NumClasses(), | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | batchTraining); | ~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp:83:18: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 83 | classCounts.max(maxIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp:83:18: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 83 | classCounts.max(maxIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp: In instantiation of ‘size_t mlpack::HoeffdingNumericSplit::MajorityClass() const [with FitnessFunction = mlpack::HoeffdingInformationGain; ObservationType = double; size_t = long unsigned int]’: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:613:53: required from ‘void mlpack::HoeffdingTree::Train(const VecType&, size_t) [with VecType = arma::subview_col; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 613 | majorityClass = numericSplits[0].MajorityClass(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1191:12: required from ‘void mlpack::HoeffdingTree::TrainInternal(const MatType&, const arma::Row&, bool) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 1191 | Train(data.col(i), labels[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:501:16: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, double, size_t, size_t, size_t) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 501 | TrainInternal(data, labels, batchTraining); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:447:8: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, std::optional, std::optional, std::optional) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 447 | Train(data, labels, numClasses, batchTraining, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | (successProbability.has_value()) ? successProbability.value() : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | this->successProbability, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | (maxSamples.has_value()) ? maxSamples.value() : this->maxSamples, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | (checkInterval.has_value()) ? checkInterval.value() : this->checkInterval, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 452 | this->minSamples); | ~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_model_impl.hpp:211:31: required from here 211 | infoHoeffdingTree->Train(dataset, labels, infoHoeffdingTree->NumClasses(), | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | batchTraining); | ~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:148:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 148 | classes.max(majorityClass); | ~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:148:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 148 | classes.max(majorityClass); | ~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:158:20: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 158 | classCounts.max(maxIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:158:20: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 158 | classCounts.max(maxIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp: In instantiation of ‘size_t mlpack::BinaryNumericSplit::MajorityClass() const [with FitnessFunction = mlpack::HoeffdingInformationGain; ObservationType = double; size_t = long unsigned int]’: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:613:53: required from ‘void mlpack::HoeffdingTree::Train(const VecType&, size_t) [with VecType = arma::subview_col; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 613 | majorityClass = numericSplits[0].MajorityClass(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1191:12: required from ‘void mlpack::HoeffdingTree::TrainInternal(const MatType&, const arma::Row&, bool) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 1191 | Train(data.col(i), labels[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:501:16: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, double, size_t, size_t, size_t) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 501 | TrainInternal(data, labels, batchTraining); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:447:8: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, std::optional, std::optional, std::optional) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 447 | Train(data, labels, numClasses, batchTraining, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | (successProbability.has_value()) ? successProbability.value() : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | this->successProbability, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | (maxSamples.has_value()) ? maxSamples.value() : this->maxSamples, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | (checkInterval.has_value()) ? checkInterval.value() : this->checkInterval, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 452 | this->minSamples); | ~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_model_impl.hpp:216:28: required from here 216 | infoBinaryTree->Train(dataset, labels, infoBinaryTree->NumClasses(), | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | batchTraining); | ~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:159:18: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 159 | classCounts.max(maxIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:159:18: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 159 | classCounts.max(maxIndex); | ~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp: In instantiation of ‘void mlpack::HoeffdingCategoricalSplit::Split(arma::Col&, SplitInfo&) [with FitnessFunction = mlpack::GiniImpurity; SplitInfo = mlpack::CategoricalSplitInfo]’: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:943:74: required from ‘void mlpack::HoeffdingTree::CreateChildren() [with FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 943 | categoricalSplits[dimensionMappings->at(splitDimension).second].Split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 944 | childMajorities, categoricalSplit); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:626:9: required from ‘void mlpack::HoeffdingTree::Train(const VecType&, size_t) [with VecType = arma::subview_col; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 626 | CreateChildren(); | ^~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1191:12: required from ‘void mlpack::HoeffdingTree::TrainInternal(const MatType&, const arma::Row&, bool) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 1191 | Train(data.col(i), labels[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:501:16: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, double, size_t, size_t, size_t) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 501 | TrainInternal(data, labels, batchTraining); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:447:8: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, std::optional, std::optional, std::optional) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 447 | Train(data, labels, numClasses, batchTraining, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | (successProbability.has_value()) ? successProbability.value() : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | this->successProbability, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | (maxSamples.has_value()) ? maxSamples.value() : this->maxSamples, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | (checkInterval.has_value()) ? checkInterval.value() : this->checkInterval, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 452 | this->minSamples); | ~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_model_impl.hpp:201:31: required from here 201 | giniHoeffdingTree->Train(dataset, labels, giniHoeffdingTree->NumClasses(), | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 202 | batchTraining); | ~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp:68:43: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 68 | sufficientStatistics.unsafe_col(i).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp:68:43: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 68 | sufficientStatistics.unsafe_col(i).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp: In instantiation of ‘void mlpack::HoeffdingNumericSplit::Split(arma::Col&, SplitInfo&) const [with FitnessFunction = mlpack::GiniImpurity; ObservationType = double; SplitInfo = mlpack::NumericSplitInfo]’: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:949:70: required from ‘void mlpack::HoeffdingTree::CreateChildren() [with FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 949 | numericSplits[dimensionMappings->at(splitDimension).second].Split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 950 | childMajorities, numericSplit); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:626:9: required from ‘void mlpack::HoeffdingTree::Train(const VecType&, size_t) [with VecType = arma::subview_col; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 626 | CreateChildren(); | ^~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1191:12: required from ‘void mlpack::HoeffdingTree::TrainInternal(const MatType&, const arma::Row&, bool) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 1191 | Train(data.col(i), labels[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:501:16: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, double, size_t, size_t, size_t) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 501 | TrainInternal(data, labels, batchTraining); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:447:8: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, std::optional, std::optional, std::optional) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 447 | Train(data, labels, numClasses, batchTraining, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | (successProbability.has_value()) ? successProbability.value() : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | this->successProbability, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | (maxSamples.has_value()) ? maxSamples.value() : this->maxSamples, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | (checkInterval.has_value()) ? checkInterval.value() : this->checkInterval, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 452 | this->minSamples); | ~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_model_impl.hpp:201:31: required from here 201 | giniHoeffdingTree->Train(dataset, labels, giniHoeffdingTree->NumClasses(), | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 202 | batchTraining); | ~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:126:43: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 126 | sufficientStatistics.unsafe_col(i).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:126:43: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 126 | sufficientStatistics.unsafe_col(i).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp: In instantiation of ‘void mlpack::BinaryNumericSplit::Split(arma::Col&, SplitInfo&) [with FitnessFunction = mlpack::GiniImpurity; ObservationType = double; SplitInfo = mlpack::BinaryNumericSplitInfo]’: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:949:70: required from ‘void mlpack::HoeffdingTree::CreateChildren() [with FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 949 | numericSplits[dimensionMappings->at(splitDimension).second].Split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 950 | childMajorities, numericSplit); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:626:9: required from ‘void mlpack::HoeffdingTree::Train(const VecType&, size_t) [with VecType = arma::subview_col; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 626 | CreateChildren(); | ^~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1191:12: required from ‘void mlpack::HoeffdingTree::TrainInternal(const MatType&, const arma::Row&, bool) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 1191 | Train(data.col(i), labels[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:501:16: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, double, size_t, size_t, size_t) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 501 | TrainInternal(data, labels, batchTraining); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:447:8: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, std::optional, std::optional, std::optional) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniImpurity; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 447 | Train(data, labels, numClasses, batchTraining, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | (successProbability.has_value()) ? successProbability.value() : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | this->successProbability, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | (maxSamples.has_value()) ? maxSamples.value() : this->maxSamples, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | (checkInterval.has_value()) ? checkInterval.value() : this->checkInterval, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 452 | this->minSamples); | ~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_model_impl.hpp:206:28: required from here 206 | giniBinaryTree->Train(dataset, labels, giniBinaryTree->NumClasses(), | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 207 | batchTraining); | ~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:145:27: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 145 | counts.unsafe_col(0).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:145:27: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 145 | counts.unsafe_col(0).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:147:27: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 147 | counts.unsafe_col(1).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:147:27: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 147 | counts.unsafe_col(1).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp: In instantiation of ‘void mlpack::HoeffdingCategoricalSplit::Split(arma::Col&, SplitInfo&) [with FitnessFunction = mlpack::HoeffdingInformationGain; SplitInfo = mlpack::CategoricalSplitInfo]’: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:943:74: required from ‘void mlpack::HoeffdingTree::CreateChildren() [with FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 943 | categoricalSplits[dimensionMappings->at(splitDimension).second].Split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 944 | childMajorities, categoricalSplit); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:626:9: required from ‘void mlpack::HoeffdingTree::Train(const VecType&, size_t) [with VecType = arma::subview_col; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 626 | CreateChildren(); | ^~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1191:12: required from ‘void mlpack::HoeffdingTree::TrainInternal(const MatType&, const arma::Row&, bool) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 1191 | Train(data.col(i), labels[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:501:16: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, double, size_t, size_t, size_t) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 501 | TrainInternal(data, labels, batchTraining); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:447:8: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, std::optional, std::optional, std::optional) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 447 | Train(data, labels, numClasses, batchTraining, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | (successProbability.has_value()) ? successProbability.value() : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | this->successProbability, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | (maxSamples.has_value()) ? maxSamples.value() : this->maxSamples, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | (checkInterval.has_value()) ? checkInterval.value() : this->checkInterval, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 452 | this->minSamples); | ~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_model_impl.hpp:211:31: required from here 211 | infoHoeffdingTree->Train(dataset, labels, infoHoeffdingTree->NumClasses(), | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | batchTraining); | ~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp:68:43: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 68 | sufficientStatistics.unsafe_col(i).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_categorical_split_impl.hpp:68:43: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 68 | sufficientStatistics.unsafe_col(i).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp: In instantiation of ‘void mlpack::HoeffdingNumericSplit::Split(arma::Col&, SplitInfo&) const [with FitnessFunction = mlpack::HoeffdingInformationGain; ObservationType = double; SplitInfo = mlpack::NumericSplitInfo]’: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:949:70: required from ‘void mlpack::HoeffdingTree::CreateChildren() [with FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 949 | numericSplits[dimensionMappings->at(splitDimension).second].Split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 950 | childMajorities, numericSplit); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:626:9: required from ‘void mlpack::HoeffdingTree::Train(const VecType&, size_t) [with VecType = arma::subview_col; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 626 | CreateChildren(); | ^~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1191:12: required from ‘void mlpack::HoeffdingTree::TrainInternal(const MatType&, const arma::Row&, bool) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 1191 | Train(data.col(i), labels[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:501:16: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, double, size_t, size_t, size_t) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 501 | TrainInternal(data, labels, batchTraining); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:447:8: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, std::optional, std::optional, std::optional) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::HoeffdingDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 447 | Train(data, labels, numClasses, batchTraining, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | (successProbability.has_value()) ? successProbability.value() : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | this->successProbability, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | (maxSamples.has_value()) ? maxSamples.value() : this->maxSamples, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | (checkInterval.has_value()) ? checkInterval.value() : this->checkInterval, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 452 | this->minSamples); | ~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_model_impl.hpp:211:31: required from here 211 | infoHoeffdingTree->Train(dataset, labels, infoHoeffdingTree->NumClasses(), | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 212 | batchTraining); | ~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:126:43: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 126 | sufficientStatistics.unsafe_col(i).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_numeric_split_impl.hpp:126:43: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 126 | sufficientStatistics.unsafe_col(i).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp: In instantiation of ‘void mlpack::BinaryNumericSplit::Split(arma::Col&, SplitInfo&) [with FitnessFunction = mlpack::HoeffdingInformationGain; ObservationType = double; SplitInfo = mlpack::BinaryNumericSplitInfo]’: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:949:70: required from ‘void mlpack::HoeffdingTree::CreateChildren() [with FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 949 | numericSplits[dimensionMappings->at(splitDimension).second].Split( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 950 | childMajorities, numericSplit); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:626:9: required from ‘void mlpack::HoeffdingTree::Train(const VecType&, size_t) [with VecType = arma::subview_col; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 626 | CreateChildren(); | ^~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1191:12: required from ‘void mlpack::HoeffdingTree::TrainInternal(const MatType&, const arma::Row&, bool) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit]’ 1191 | Train(data.col(i), labels[i]); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:501:16: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, double, size_t, size_t, size_t) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 501 | TrainInternal(data, labels, batchTraining); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:447:8: required from ‘void mlpack::HoeffdingTree::Train(const MatType&, const arma::Row&, size_t, bool, std::optional, std::optional, std::optional) [with MatType = arma::Mat; FitnessFunction = mlpack::HoeffdingInformationGain; NumericSplitType = mlpack::BinaryDoubleNumericSplit; CategoricalSplitType = mlpack::HoeffdingCategoricalSplit; size_t = long unsigned int]’ 447 | Train(data, labels, numClasses, batchTraining, | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 448 | (successProbability.has_value()) ? successProbability.value() : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 449 | this->successProbability, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 450 | (maxSamples.has_value()) ? maxSamples.value() : this->maxSamples, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 451 | (checkInterval.has_value()) ? checkInterval.value() : this->checkInterval, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 452 | this->minSamples); | ~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_model_impl.hpp:216:28: required from here 216 | infoBinaryTree->Train(dataset, labels, infoBinaryTree->NumClasses(), | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 217 | batchTraining); | ~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:145:27: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 145 | counts.unsafe_col(0).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:145:27: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 145 | counts.unsafe_col(0).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:147:27: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 147 | counts.unsafe_col(1).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/hoeffding_trees/binary_numeric_split_impl.hpp:147:27: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = long unsigned int; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 147 | counts.unsafe_col(1).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c image_converter.cpp -o image_converter.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/preprocess/image_converter_main.cpp:13, from image_converter.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/methods/preprocess/image_converter_main.cpp:12: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c kde.cpp -o kde.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/kde/kde_main.cpp:12, from kde.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c kernel_pca.cpp -o kernel_pca.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/kernel_pca/kernel_pca_main.cpp:12, from kernel_pca.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster.hpp:79, from ../inst/include/mlpack/methods/kmeans/kmeans.hpp:23, from ../inst/include/mlpack/methods/nystroem_method/kmeans_selection.hpp:17, from ../inst/include/mlpack/methods/nystroem_method/nystroem_method.hpp:20, from ../inst/include/mlpack/methods/kernel_pca/kernel_pca_main.cpp:19: ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp: In instantiation of ‘void mlpack::MaxVarianceNewCluster::EmptyCluster(const MatType&, size_t, const arma::mat&, arma::mat&, arma::Col&, DistanceType&, size_t) [with DistanceType = mlpack::LMetric<2, true>; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’: ../inst/include/mlpack/methods/kmeans/kmeans_impl.hpp:224:42: required from ‘void mlpack::KMeans::Cluster(const MatType&, size_t, arma::mat&, bool) [with DistanceType = mlpack::LMetric<2, true>; InitialPartitionPolicy = mlpack::SampleInitialization; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster; LloydStepType = mlpack::NaiveKMeans; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’ 224 | emptyClusterAction.EmptyCluster(data, i, centroids, centroidsOther, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 225 | counts, distance, iteration); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/kmeans_impl.hpp:301:10: required from ‘void mlpack::KMeans::Cluster(const MatType&, size_t, arma::Row&, arma::mat&, bool, bool) [with DistanceType = mlpack::LMetric<2, true>; InitialPartitionPolicy = mlpack::SampleInitialization; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster; LloydStepType = mlpack::NaiveKMeans; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’ 301 | Cluster(data, clusters, centroids, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ 302 | initialAssignmentGuess || initialCentroidGuess); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/nystroem_method/kmeans_selection.hpp:46:19: required from ‘static const arma::mat* mlpack::KMeansSelection::Select(const arma::mat&, size_t) [with ClusteringType = mlpack::KMeans<>; long unsigned int maxIterations = 5; arma::mat = arma::Mat; size_t = long unsigned int]’ 46 | kmeans.Cluster(data, m, assignments, *centroids); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/nystroem_method/nystroem_method_impl.hpp:83:47: required from ‘void mlpack::NystroemMethod::Apply(arma::mat&) [with KernelType = mlpack::LinearKernel; PointSelectionPolicy = mlpack::KMeansSelection<>; arma::mat = arma::Mat]’ 83 | GetKernelMatrix(PointSelectionPolicy::Select(data, rank), miniKernel, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ ../inst/include/mlpack/methods/kernel_pca/kernel_rules/nystroem_method.hpp:48:13: required from ‘static void mlpack::NystroemKernelRule::ApplyKernelMatrix(const arma::mat&, arma::mat&, arma::vec&, arma::mat&, size_t, KernelType) [with KernelType = mlpack::LinearKernel; PointSelectionPolicy = mlpack::KMeansSelection<>; arma::mat = arma::Mat; arma::vec = arma::Col; size_t = long unsigned int]’ 48 | nm.Apply(G); | ~~~~~~~~^~~ ../inst/include/mlpack/methods/kernel_pca/kernel_pca_impl.hpp:37:32: required from ‘void mlpack::KernelPCA::Apply(const arma::mat&, arma::mat&, arma::vec&, arma::mat&, size_t) [with KernelType = mlpack::LinearKernel; KernelRule = mlpack::NystroemKernelRule >; arma::mat = arma::Mat; arma::vec = arma::Col; size_t = long unsigned int]’ 37 | KernelRule::ApplyKernelMatrix(data, transformedData, eigval, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 38 | eigvec, newDimension, kernel); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kernel_pca/kernel_pca_impl.hpp:77:8: required from ‘void mlpack::KernelPCA::Apply(arma::mat&, size_t) [with KernelType = mlpack::LinearKernel; KernelRule = mlpack::NystroemKernelRule >; arma::mat = arma::Mat; size_t = long unsigned int]’ 77 | Apply(data, data, eigVal, coeffs, newDimension); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kernel_pca/kernel_pca_main.cpp:145:17: required from ‘void RunKPCA(arma::mat&, bool, bool, size_t, const std::string&, KernelType&) [with KernelType = mlpack::LinearKernel; arma::mat = arma::Mat; size_t = long unsigned int; std::string = std::__cxx11::basic_string]’ 145 | kpca.Apply(dataset, newDim); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kernel_pca/kernel_pca_main.cpp:208:26: required from here 208 | RunKPCA(dataset, centerTransformedData, nystroem, newDim, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 209 | sampling, kernel); | ~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp:39:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 39 | variances.max(maxVarCluster); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:545:52: note: declared here 545 | arma_frown("use .index_max() instead") inline eT max(uword& index_of_max_val) const; | ^~~ ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp:39:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 39 | variances.max(maxVarCluster); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:669: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c kfn.cpp -o kfn.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/neighbor_search/kfn_main.cpp:13, from kfn.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c kmeans.cpp -o kmeans.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/kmeans/kmeans_main.cpp:12, from kmeans.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster.hpp:79, from ../inst/include/mlpack/methods/kmeans/kmeans.hpp:23, from ../inst/include/mlpack/methods/kmeans/kmeans_main.cpp:19: ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp: In instantiation of ‘void mlpack::MaxVarianceNewCluster::EmptyCluster(const MatType&, size_t, const arma::mat&, arma::mat&, arma::Col&, DistanceType&, size_t) [with DistanceType = mlpack::LMetric<2, true>; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’: ../inst/include/mlpack/methods/kmeans/kmeans_impl.hpp:224:42: required from ‘void mlpack::KMeans::Cluster(const MatType&, size_t, arma::mat&, bool) [with DistanceType = mlpack::LMetric<2, true>; InitialPartitionPolicy = mlpack::RefinedStart; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster; LloydStepType = mlpack::ElkanKMeans; MatType = arma::Mat; size_t = long unsigned int; arma::mat = arma::Mat]’ 224 | emptyClusterAction.EmptyCluster(data, i, centroids, centroidsOther, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 225 | counts, distance, iteration); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/kmeans_main.cpp:406:19: required from ‘void RunKMeans(mlpack::util::Params&, mlpack::util::Timers&, const InitialPartitionPolicy&) [with InitialPartitionPolicy = mlpack::RefinedStart; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster; LloydStepType = mlpack::ElkanKMeans]’ 406 | kmeans.Cluster(dataset, clusters, centroids, initialCentroidGuess); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/kmeans_main.cpp:269:71: required from ‘void FindLloydStepType(mlpack::util::Params&, mlpack::util::Timers&, const InitialPartitionPolicy&) [with InitialPartitionPolicy = mlpack::RefinedStart; EmptyClusterPolicy = mlpack::MaxVarianceNewCluster]’ 269 | RunKMeans(params, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 270 | timers, ipp); | ~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/kmeans_main.cpp:250:69: required from ‘void FindEmptyClusterPolicy(mlpack::util::Params&, mlpack::util::Timers&, const InitialPartitionPolicy&) [with InitialPartitionPolicy = mlpack::RefinedStart]’ 250 | FindLloydStepType(params, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ 251 | timers, ipp); | ~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/kmeans_main.cpp:209:41: required from here 209 | FindEmptyClusterPolicy(params, timers, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ 210 | RefinedStart(samplings, percentage)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp:39:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 39 | variances.max(maxVarCluster); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:545:52: note: declared here 545 | arma_frown("use .index_max() instead") inline eT max(uword& index_of_max_val) const; | ^~~ ../inst/include/mlpack/methods/kmeans/max_variance_new_cluster_impl.hpp:39:16: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 39 | variances.max(maxVarCluster); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:669: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c knn.cpp -o knn.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/neighbor_search/knn_main.cpp:13, from knn.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c krann.cpp -o krann.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/rann/krann_main.cpp:13, from krann.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c lars.cpp -o lars.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/lars/lars_main.cpp:12, from lars.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c linear_regression.cpp -o linear_regression.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/linear_regression/linear_regression_main.cpp:12, from linear_regression.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c linear_svm.cpp -o linear_svm.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/linear_svm/linear_svm_main.cpp:12, from linear_svm.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c lmnn.cpp -o lmnn.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/lmnn/lmnn_main.cpp:12, from lmnn.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c local_coordinate_coding.cpp -o local_coordinate_coding.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/local_coordinate_coding/local_coordinate_coding_main.cpp:12, from local_coordinate_coding.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c logistic_regression.cpp -o logistic_regression.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/logistic_regression/logistic_regression_main.cpp:12, from logistic_regression.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c lsh.cpp -o lsh.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/lsh/lsh_main.cpp:13, from lsh.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c mean_shift.cpp -o mean_shift.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/mean_shift/mean_shift_main.cpp:12, from mean_shift.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c nbc.cpp -o nbc.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/naive_bayes/nbc_main.cpp:15, from nbc.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/naive_bayes/naive_bayes_classifier.hpp:296, from ../inst/include/mlpack/methods/naive_bayes/nbc_main.cpp:22: ../inst/include/mlpack/methods/naive_bayes/naive_bayes_classifier_impl.hpp: In instantiation of ‘void mlpack::NaiveBayesClassifier::Classify(const MatType&, arma::Row&, ProbabilitiesMatType&) const [with MatType = arma::Mat; ProbabilitiesMatType = arma::Mat; ModelMatType = arma::Mat]’: ../inst/include/mlpack/methods/naive_bayes/nbc_main.cpp:196:24: required from here 196 | model->nbc.Classify(testingData, predictions, probabilities); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/naive_bayes/naive_bayes_classifier_impl.hpp:388:37: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 388 | logLikelihoods.unsafe_col(i).max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:545:52: note: declared here 545 | arma_frown("use .index_max() instead") inline eT max(uword& index_of_max_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c nca.cpp -o nca.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/nca/nca_main.cpp:12, from nca.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c nmf.cpp -o nmf.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/nmf/nmf_main.cpp:12, from nmf.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c pca.cpp -o pca.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/pca/pca_main.cpp:13, from pca.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c perceptron.cpp -o perceptron.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/perceptron/perceptron_main.cpp:15, from perceptron.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/perceptron/perceptron.hpp:246, from ../inst/include/mlpack/methods/perceptron/perceptron_main.cpp:22: ../inst/include/mlpack/methods/perceptron/perceptron_impl.hpp: In instantiation of ‘void mlpack::Perceptron::Classify(const MatType&, arma::Row&) const [with LearnPolicy = mlpack::SimpleWeightUpdate; WeightInitializationPolicy = mlpack::ZeroInitialization; MatType = arma::Mat]’: ../inst/include/mlpack/methods/perceptron/perceptron_main.cpp:304:20: required from here 304 | p->P().Classify(testData, predictedLabels); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/perceptron/perceptron_impl.hpp:327:21: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 327 | tempLabelMat.max(maxIndex); | ~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:545:52: note: declared here 545 | arma_frown("use .index_max() instead") inline eT max(uword& index_of_max_val) const; | ^~~ ../inst/include/mlpack/methods/perceptron/perceptron_impl.hpp: In instantiation of ‘void mlpack::Perceptron::TrainInternal(const MatType&, const arma::Row&, size_t, const WeightsType&) [with bool HasWeights = false; WeightsType = arma::Row; LearnPolicy = mlpack::SimpleWeightUpdate; WeightInitializationPolicy = mlpack::ZeroInitialization; MatType = arma::Mat; size_t = long unsigned int]’: ../inst/include/mlpack/methods/perceptron/perceptron_impl.hpp:61:63: required from ‘mlpack::Perceptron::Perceptron(const MatType&, const arma::Row&, size_t, size_t) [with LearnPolicy = mlpack::SimpleWeightUpdate; WeightInitializationPolicy = mlpack::ZeroInitialization; MatType = arma::Mat; size_t = long unsigned int]’ 61 | TrainInternal>(data, labels, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ 62 | numClasses); | ~~~~~~~~~~~ ../inst/include/mlpack/methods/perceptron/perceptron_main.cpp:250:76: required from here 250 | p->P() = Perceptron<>(trainingData, labels, numClasses, maxIterations); | ^ ../inst/include/mlpack/methods/perceptron/perceptron_impl.hpp:249:23: warning: ‘eT arma::Mat::max(arma::uword&, arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated [-Wdeprecated-declarations] 249 | tempLabelMat.max(maxIndexRow, maxIndexCol); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:548:29: note: declared here 548 | arma_deprecated inline eT max(uword& row_of_max_val, uword& col_of_max_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c preprocess_binarize.cpp -o preprocess_binarize.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/preprocess/preprocess_binarize_main.cpp:12, from preprocess_binarize.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c preprocess_describe.cpp -o preprocess_describe.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/preprocess/preprocess_describe_main.cpp:12, from preprocess_describe.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c preprocess_one_hot_encoding.cpp -o preprocess_one_hot_encoding.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/preprocess/preprocess_one_hot_encoding_main.cpp:12, from preprocess_one_hot_encoding.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c preprocess_scale.cpp -o preprocess_scale.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/preprocess/preprocess_scale_main.cpp:12, from preprocess_scale.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c preprocess_split.cpp -o preprocess_split.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/preprocess/preprocess_split_main.cpp:12, from preprocess_split.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c r_util.cpp -o r_util.o In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from r_util.cpp:14: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c radical.cpp -o radical.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/radical/radical_main.cpp:13, from radical.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/radical/radical.hpp:180, from ../inst/include/mlpack/methods/radical/radical_main.cpp:19: ../inst/include/mlpack/methods/radical/radical_impl.hpp: In instantiation of ‘typename MatType::elem_type mlpack::Radical::Apply2D(const MatType&, size_t, MatType&, MatType&, mlpack::util::Timers&) [with MatType = arma::Mat; typename MatType::elem_type = double; size_t = long unsigned int]’: ../inst/include/mlpack/methods/radical/radical_impl.hpp:188:42: required from ‘void mlpack::Radical::Apply(const MatType&, MatType&, MatType&, mlpack::util::Timers&) [with MatType = arma::Mat]’ 188 | const ElemType thetaOpt = Apply2D(matYSubspace, localM, perturbed, | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 189 | candidate, timers); | ~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/radical/radical_main.cpp:126:12: required from here 126 | rad.Apply(matX, matY, matW, timers); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/radical/radical_impl.hpp:107:13: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 107 | values.min(indOpt); // we ignore the return value; we don't care about it | ~~~~~~~~~~^~~~~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:669: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7765:1: note: declared here 7765 | Mat::min(uword& index_of_min_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c random_forest.cpp -o random_forest.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/random_forest/random_forest_main.cpp:12, from random_forest.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/methods/random_forest/random_forest.hpp:446, from ../inst/include/mlpack/methods/random_forest/random_forest_main.cpp:18: ../inst/include/mlpack/methods/random_forest/random_forest_impl.hpp: In instantiation of ‘void mlpack::RandomForest::Classify(const VecType&, size_t&, arma::vec&) const [with VecType = arma::subview_col; FitnessFunction = mlpack::GiniGain; DimensionSelectionType = mlpack::MultipleRandomDimensionSelect; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; bool UseBootstrap = true; size_t = long unsigned int; arma::vec = arma::Col]’: ../inst/include/mlpack/methods/random_forest/random_forest_impl.hpp:435:13: required from ‘void mlpack::RandomForest::Classify(const MatType&, arma::Row&, arma::mat&) const [with MatType = arma::Mat; FitnessFunction = mlpack::GiniGain; DimensionSelectionType = mlpack::MultipleRandomDimensionSelect; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; bool UseBootstrap = true; arma::mat = arma::Mat]’ 435 | Classify(data.col(i), predictions[i], probs); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/random_forest/random_forest_main.cpp:287:25: required from here 287 | rfModel->rf.Classify(testData, predictions, probabilities); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/random_forest/random_forest_impl.hpp:360:20: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 360 | probabilities.max(maxIndex); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:545:52: note: declared here 545 | arma_frown("use .index_max() instead") inline eT max(uword& index_of_max_val) const; | ^~~ ../inst/include/mlpack/methods/random_forest/random_forest_impl.hpp:360:20: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 360 | probabilities.max(maxIndex); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:669: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/methods/decision_tree/decision_tree.hpp:607, from ../inst/include/mlpack/methods/random_forest/random_forest.hpp:15: ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In instantiation of ‘void mlpack::DecisionTree::CalculateClassProbabilities(const RowType&, size_t, const WeightsRowType&) [with bool UseWeights = true; RowType = arma::subview_row; WeightsRowType = arma::Row; FitnessFunction = mlpack::GiniGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::MultipleRandomDimensionSelect; bool NoRecursion = false; size_t = long unsigned int]’: ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:786:44: required from ‘double mlpack::DecisionTree::Train(MatType&, size_t, size_t, const mlpack::data::DatasetInfo&, arma::Row&, size_t, WeightsType&, size_t, double, size_t, DimensionSelectionType&) [with bool UseWeights = true; MatType = arma::Mat; WeightsType = arma::Row; FitnessFunction = mlpack::GiniGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::MultipleRandomDimensionSelect; bool NoRecursion = false; size_t = long unsigned int; mlpack::data::DatasetInfo = mlpack::data::DatasetMapper >]’ 786 | CalculateClassProbabilities( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 787 | labels.subvec(begin, begin + count - 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 788 | numClasses, | ~~~~~~~~~~~ 789 | UseWeights ? weights.subvec(begin, begin + count - 1) : weights); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:560:21: required from ‘double mlpack::DecisionTree::Train(MatType, const mlpack::data::DatasetInfo&, LabelsType, size_t, WeightsType, size_t, double, size_t, DimensionSelectionType, std::enable_if_t<((bool)arma::is_arma_type::type>::value)>*) [with MatType = arma::Mat; LabelsType = arma::Row; WeightsType = arma::Row; FitnessFunction = mlpack::GiniGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::MultipleRandomDimensionSelect; bool NoRecursion = false; mlpack::data::DatasetInfo = mlpack::data::DatasetMapper >; size_t = long unsigned int; std::enable_if_t<((bool)arma::is_arma_type::type>::value)> = void; typename std::remove_reference::type = arma::Row]’ 560 | return Train(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 561 | numClasses, tmpWeights, minimumLeafSize, minimumGainSplit, maximumDepth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 562 | dimensionSelector); | ~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/random_forest/random_forest_impl.hpp:542:41: required from ‘double mlpack::RandomForest::Train(const MatType&, const mlpack::data::DatasetInfo&, const arma::Row&, size_t, const arma::rowvec&, size_t, size_t, double, size_t, DimensionSelectionType&, bool) [with bool UseWeights = false; bool UseDatasetInfo = false; MatType = arma::Mat; FitnessFunction = mlpack::GiniGain; DimensionSelectionType = mlpack::MultipleRandomDimensionSelect; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; bool UseBootstrap = true; mlpack::data::DatasetInfo = mlpack::data::DatasetMapper >; size_t = long unsigned int; arma::rowvec = arma::Row]’ 542 | trees[oldNumTrees + i].Train(bootstrapDataset, datasetInfo, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 543 | bootstrapLabels, numClasses, bootstrapWeights, minimumLeafSize, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | minimumGainSplit, maximumDepth, dimensionSelector) : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/random_forest/random_forest_impl.hpp:194:29: required from ‘double mlpack::RandomForest::Train(const MatType&, const arma::Row&, size_t, size_t, size_t, double, size_t, bool, DimensionSelectionType) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniGain; DimensionSelectionType = mlpack::MultipleRandomDimensionSelect; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; bool UseBootstrap = true; size_t = long unsigned int]’ 194 | return Train(dataset, datasetInfo, labels, numClasses, weights, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 195 | numTrees, minimumLeafSize, minimumGainSplit, maximumDepth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | dimensionSelector, warmStart); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/random_forest/random_forest_main.cpp:258:22: required from here 258 | rfModel->rf.Train(data, labels, numClasses, numTrees, minimumLeafSize, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | minimumGainSplit, maxDepth, params.Has("warm_start"), mrds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:1168:25: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 1168 | classProbabilities.max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:1168:25: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 1168 | classProbabilities.max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp: In instantiation of ‘void mlpack::DecisionTree::CalculateClassProbabilities(const RowType&, size_t, const WeightsRowType&) [with bool UseWeights = false; RowType = arma::subview_row; WeightsRowType = arma::Row; FitnessFunction = mlpack::GiniGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::MultipleRandomDimensionSelect; bool NoRecursion = false; size_t = long unsigned int]’: ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:786:44: required from ‘double mlpack::DecisionTree::Train(MatType&, size_t, size_t, const mlpack::data::DatasetInfo&, arma::Row&, size_t, WeightsType&, size_t, double, size_t, DimensionSelectionType&) [with bool UseWeights = false; MatType = arma::Mat; WeightsType = arma::Row; FitnessFunction = mlpack::GiniGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::MultipleRandomDimensionSelect; bool NoRecursion = false; size_t = long unsigned int; mlpack::data::DatasetInfo = mlpack::data::DatasetMapper >]’ 786 | CalculateClassProbabilities( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 787 | labels.subvec(begin, begin + count - 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 788 | numClasses, | ~~~~~~~~~~~ 789 | UseWeights ? weights.subvec(begin, begin + count - 1) : weights); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:473:22: required from ‘double mlpack::DecisionTree::Train(MatType, const mlpack::data::DatasetInfo&, LabelsType, size_t, size_t, double, size_t, DimensionSelectionType) [with MatType = arma::Mat; LabelsType = arma::Row; FitnessFunction = mlpack::GiniGain; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; DimensionSelectionType = mlpack::MultipleRandomDimensionSelect; bool NoRecursion = false; mlpack::data::DatasetInfo = mlpack::data::DatasetMapper >; size_t = long unsigned int]’ 473 | return Train(tmpData, 0, tmpData.n_cols, datasetInfo, tmpLabels, | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 474 | numClasses, weights, minimumLeafSize, minimumGainSplit, maximumDepth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 475 | dimensionSelector); | ~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/random_forest/random_forest_impl.hpp:565:41: required from ‘double mlpack::RandomForest::Train(const MatType&, const mlpack::data::DatasetInfo&, const arma::Row&, size_t, const arma::rowvec&, size_t, size_t, double, size_t, DimensionSelectionType&, bool) [with bool UseWeights = false; bool UseDatasetInfo = false; MatType = arma::Mat; FitnessFunction = mlpack::GiniGain; DimensionSelectionType = mlpack::MultipleRandomDimensionSelect; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; bool UseBootstrap = true; mlpack::data::DatasetInfo = mlpack::data::DatasetMapper >; size_t = long unsigned int; arma::rowvec = arma::Row]’ 565 | trees[oldNumTrees + i].Train(bootstrapDataset, datasetInfo, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 566 | bootstrapLabels, numClasses, minimumLeafSize, minimumGainSplit, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 567 | maximumDepth, dimensionSelector) : | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/random_forest/random_forest_impl.hpp:194:29: required from ‘double mlpack::RandomForest::Train(const MatType&, const arma::Row&, size_t, size_t, size_t, double, size_t, bool, DimensionSelectionType) [with MatType = arma::Mat; FitnessFunction = mlpack::GiniGain; DimensionSelectionType = mlpack::MultipleRandomDimensionSelect; NumericSplitType = mlpack::BestBinaryNumericSplit; CategoricalSplitType = mlpack::AllCategoricalSplit; bool UseBootstrap = true; size_t = long unsigned int]’ 194 | return Train(dataset, datasetInfo, labels, numClasses, weights, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 195 | numTrees, minimumLeafSize, minimumGainSplit, maximumDepth, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 196 | dimensionSelector, warmStart); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/random_forest/random_forest_main.cpp:258:22: required from here 258 | rfModel->rf.Train(data, labels, numClasses, numTrees, minimumLeafSize, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | minimumGainSplit, maxDepth, params.Has("warm_start"), mrds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:1168:25: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 1168 | classProbabilities.max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ ../inst/include/mlpack/methods/decision_tree/decision_tree_impl.hpp:1168:25: warning: ‘eT arma::Mat::max(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_max() instead [-Wdeprecated-declarations] 1168 | classProbabilities.max(maxIndex); | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_meat.hpp:7786:1: note: declared here 7786 | Mat::max(uword& index_of_max_val) const | ^~~~~~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c softmax_regression.cpp -o softmax_regression.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/softmax_regression/softmax_regression_main.cpp:11, from softmax_regression.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c sparse_coding.cpp -o sparse_coding.o In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/update_full_correction.hpp:17, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/frank_wolfe.hpp:15, from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen.hpp:107, from ../inst/include/mlpack/core/hpt/hpt.hpp:18, from ../inst/include/mlpack/core.hpp:61, from ../inst/include/mlpack/methods/sparse_coding/sparse_coding_main.cpp:12, from sparse_coding.cpp:9: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp: In member function ‘void ens::Atoms::PruneSupport(double, ens::FuncSq&)’: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include/ensmallen_bits/fw/atoms.hpp:100:14: warning: ‘eT arma::Mat::min(arma::uword&) const [with eT = double; arma::uword = long long unsigned int]’ is deprecated: use .index_min() instead [-Wdeprecated-declarations] 100 | gap.min(ind); | ~~~~~~~^~~~~ In file included from /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo:182, from ../inst/include/mlpack/base.hpp:85, from ../inst/include/mlpack/prereqs.hpp:15, from ../inst/include/mlpack/core.hpp:35: /home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include/armadillo_bits/Mat_bones.hpp:544:52: note: declared here 544 | arma_frown("use .index_min() instead") inline eT min(uword& index_of_min_val) const; | ^~~ In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ../inst/include/mlpack/core.hpp:44: ../inst/include/stb/stb_image_write.h: At global scope: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -I"/home/hornik/tmp/R-d-gcc-14/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -DR_NO_REMAP -c test_r_binding.cpp -o test_r_binding.o In file included from ../inst/include/mlpack/core/data/save_image.hpp:26, from ../inst/include/mlpack/core/data/save.hpp:24, from ../inst/include/mlpack/core/util/io.hpp:32, from ./mlpack/bindings/R/tests//test_r_binding_main.cpp:13, from test_r_binding.cpp:9: ../inst/include/stb/stb_image_write.h:1514:14: warning: ‘int stbi_write_jpg_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1514 | STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int quality) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:1182:14: warning: ‘int stbi_write_png_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*, int)’ defined but not used [-Wunused-function] 1182 | STBIWDEF int stbi_write_png_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data, int stride_bytes) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:754:14: warning: ‘int stbi_write_hdr_to_func(void (*)(void*, void*, int), void*, int, int, int, const float*)’ defined but not used [-Wunused-function] 754 | STBIWDEF int stbi_write_hdr_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const float *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:580:14: warning: ‘int stbi_write_tga_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 580 | STBIWDEF int stbi_write_tga_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:482:14: warning: ‘int stbi_write_bmp_to_func(void (*)(void*, void*, int), void*, int, int, int, const void*)’ defined but not used [-Wunused-function] 482 | STBIWDEF int stbi_write_bmp_to_func(stbi_write_func *func, void *context, int x, int y, int comp, const void *data) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image_write.h:266:15: warning: ‘void stbi_flip_vertically_on_write(int)’ defined but not used [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../inst/include/mlpack/core/data/load_image.hpp:29, from ../inst/include/mlpack/core/data/load.hpp:26, from ../inst/include/mlpack/core/util/io.hpp:31: ../inst/include/stb/stb_image.h:7314:13: warning: ‘int stbi_is_16_bit_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7307:13: warning: ‘int stbi_is_16_bit_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7300:13: warning: ‘int stbi_info_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*)’ defined but not used [-Wunused-function] 7300 | STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: ‘int stbi_info_from_memory(const stbi_uc*, int, int*, int*, int*)’ defined but not used [-Wunused-function] 7293 | STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: ‘int stbi_is_16_bit(const char*)’ defined but not used [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: ‘int stbi_info(const char*, int*, int*, int*)’ defined but not used [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: ‘void stbi_convert_iphone_png_to_rgb(int)’ defined but not used [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: ‘void stbi_set_unpremultiply_on_load(int)’ defined but not used [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: ‘int stbi_zlib_decode_noheader_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: ‘char* stbi_zlib_decode_noheader_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: ‘int stbi_zlib_decode_buffer(char*, int, const char*, int)’ defined but not used [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: ‘char* stbi_zlib_decode_malloc(const char*, int, int*)’ defined but not used [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: ‘void stbi_hdr_to_ldr_scale(float)’ defined but not used [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1436:16: warning: ‘void stbi_hdr_to_ldr_gamma(float)’ defined but not used [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: ‘void stbi_ldr_to_hdr_scale(float)’ defined but not used [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: ‘void stbi_ldr_to_hdr_gamma(float)’ defined but not used [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: ‘int stbi_is_hdr_from_callbacks(const stbi_io_callbacks*, void*)’ defined but not used [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: ‘int stbi_is_hdr(const char*)’ defined but not used [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: ‘int stbi_is_hdr_from_memory(const stbi_uc*, int)’ defined but not used [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1348:16: warning: ‘float* stbi_loadf(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1348 | STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~ ../inst/include/stb/stb_image.h:1340:16: warning: ‘float* stbi_loadf_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1340 | STBIDEF float *stbi_loadf_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1333:16: warning: ‘float* stbi_loadf_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1333 | STBIDEF float *stbi_loadf_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1299:18: warning: ‘stbi_uc* stbi_load_gif_from_memory(const stbi_uc*, int, int**, int*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1299 | STBIDEF stbi_uc *stbi_load_gif_from_memory(stbi_uc const *buffer, int len, int **delays, int *x, int *y, int *z, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1291:18: warning: ‘stbi_uc* stbi_load_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1291 | STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1284:18: warning: ‘stbi_uc* stbi_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1284 | STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1277:18: warning: ‘stbi_us* stbi_load_16_from_callbacks(const stbi_io_callbacks*, void*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1277 | STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1270:18: warning: ‘stbi_us* stbi_load_16_from_memory(const stbi_uc*, int, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1270 | STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels) | ^~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1257:18: warning: ‘stbi_us* stbi_load_16(const char*, int*, int*, int*, int)’ defined but not used [-Wunused-function] 1257 | STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp) | ^~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: ‘void stbi_set_flip_vertically_on_load(int)’ defined but not used [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++-14 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-gcc-14/lib -Wl,-O1 -o mlpack.so RcppExports.o adaboost.o approx_kfn.o bayesian_linear_regression.o cf.o dbscan.o decision_tree.o det.o emst.o fastmks.o gmm_generate.o gmm_probability.o gmm_train.o hmm_generate.o hmm_loglik.o hmm_train.o hmm_viterbi.o hoeffding_tree.o image_converter.o kde.o kernel_pca.o kfn.o kmeans.o knn.o krann.o lars.o linear_regression.o linear_svm.o lmnn.o local_coordinate_coding.o logistic_regression.o lsh.o mean_shift.o nbc.o nca.o nmf.o pca.o perceptron.o preprocess_binarize.o preprocess_describe.o preprocess_one_hot_encoding.o preprocess_scale.o preprocess_split.o r_util.o radical.o random_forest.o softmax_regression.o sparse_coding.o test_r_binding.o -fopenmp -llapack -L/home/hornik/tmp/R-d-gcc-14/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R-d-gcc-14/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp8NEQdm/R.INSTALL52481e8106da/mlpack/src' installing to /home/hornik/tmp/CRAN_recheck/Library/00LOCK-mlpack/00new/mlpack/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** 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 (mlpack) checking heplots_1.7.1.tar.gz ... checking candisc_0.9.0.tar.gz ... checking ICSClust_0.1.0.tar.gz ... checking MorphoTools2_1.0.2.1.tar.gz ... checking mvinfluence_0.9.0.tar.gz ... checking Guerry_1.8.3.tar.gz ... checking effects_4.2-2.tar.gz ... checking HistData_0.9-1.tar.gz ... checking latentnet_2.11.0.tar.gz ... checking ordr_0.1.1.tar.gz ... Depends: Package: heplots Depends: R (>= 3.5.0), broom Imports: car, MASS, graphics, grDevices, stats, magrittr, purrr, rgl, tibble Timings: user system elapsed heplots 106.462 8.512 116.658 Results: Check status summary: NOTE OK Source packages 0 1 Reverse depends 5 4 Check results summary: heplots ... OK rdepends_candisc ... OK rdepends_effects ... NOTE * checking Rd cross-references ... NOTE rdepends_Guerry ... OK rdepends_HistData ... OK rdepends_ICSClust ... NOTE * checking Rd cross-references ... NOTE rdepends_latentnet ... NOTE * checking Rd cross-references ... NOTE rdepends_MorphoTools2 ... OK rdepends_mvinfluence ... NOTE * checking Rd cross-references ... NOTE rdepends_ordr ... NOTE * checking Rd files ... [1s/1s] NOTE * checking Rd cross-references ... NOTE