* installing to library ‘/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages’ * 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-6) 14.2.0’ make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp6d66TR/R.INSTALL27207a690676c3/mlpack/src' g++-14 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c RcppExports.cpp -o RcppExports.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack.h:52, from RcppExports.cpp:4: ../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.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c adaboost.cpp -o adaboost.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/adaboost/adaboost_main.cpp:34, from adaboost.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c approx_kfn.cpp -o approx_kfn.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/approx_kfn/approx_kfn_main.cpp:12, from approx_kfn.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c bayesian_linear_regression.cpp -o bayesian_linear_regression.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/bayesian_linear_regression/bayesian_linear_regression_main.cpp:12, from bayesian_linear_regression.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c cf.cpp -o cf.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/cf/cf_main.cpp:12, from cf.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c dbscan.cpp -o dbscan.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/dbscan/dbscan_main.cpp:12, from dbscan.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c decision_tree.cpp -o decision_tree.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/decision_tree/decision_tree_main.cpp:12, from decision_tree.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c det.cpp -o det.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/det/det_main.cpp:12, from det.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c emst.cpp -o emst.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/emst/emst_main.cpp:27, from emst.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c fastmks.cpp -o fastmks.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/fastmks/fastmks_main.cpp:12, from fastmks.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c gmm_generate.cpp -o gmm_generate.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/gmm/gmm_generate_main.cpp:12, from gmm_generate.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c gmm_probability.cpp -o gmm_probability.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/gmm/gmm_probability_main.cpp:12, from gmm_probability.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c gmm_train.cpp -o gmm_train.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/gmm/gmm_train_main.cpp:12, from gmm_train.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c hmm_generate.cpp -o hmm_generate.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/hmm/hmm_generate_main.cpp:14, from hmm_generate.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c hmm_loglik.cpp -o hmm_loglik.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/hmm/hmm_loglik_main.cpp:12, from hmm_loglik.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c hmm_train.cpp -o hmm_train.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/hmm/hmm_train_main.cpp:12, from hmm_train.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c hmm_viterbi.cpp -o hmm_viterbi.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/hmm/hmm_viterbi_main.cpp:13, from hmm_viterbi.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c hoeffding_tree.cpp -o hoeffding_tree.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp:12, from hoeffding_tree.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c image_converter.cpp -o image_converter.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/preprocess/image_converter_main.cpp:13, from image_converter.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c kde.cpp -o kde.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/kde/kde_main.cpp:12, from kde.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c kernel_pca.cpp -o kernel_pca.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/kernel_pca/kernel_pca_main.cpp:12, from kernel_pca.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c kfn.cpp -o kfn.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/neighbor_search/kfn_main.cpp:13, from kfn.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c kmeans.cpp -o kmeans.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/kmeans/kmeans_main.cpp:12, from kmeans.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c knn.cpp -o knn.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/neighbor_search/knn_main.cpp:13, from knn.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c krann.cpp -o krann.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/rann/krann_main.cpp:13, from krann.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c lars.cpp -o lars.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/lars/lars_main.cpp:12, from lars.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c linear_regression.cpp -o linear_regression.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/linear_regression/linear_regression_main.cpp:12, from linear_regression.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c linear_svm.cpp -o linear_svm.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/linear_svm/linear_svm_main.cpp:12, from linear_svm.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c lmnn.cpp -o lmnn.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/lmnn/lmnn_main.cpp:12, from lmnn.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c local_coordinate_coding.cpp -o local_coordinate_coding.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/local_coordinate_coding/local_coordinate_coding_main.cpp:12, from local_coordinate_coding.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c logistic_regression.cpp -o logistic_regression.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/logistic_regression/logistic_regression_main.cpp:12, from logistic_regression.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c lsh.cpp -o lsh.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/lsh/lsh_main.cpp:13, from lsh.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c mean_shift.cpp -o mean_shift.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/mean_shift/mean_shift_main.cpp:12, from mean_shift.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c nbc.cpp -o nbc.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/naive_bayes/nbc_main.cpp:15, from nbc.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c nca.cpp -o nca.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/nca/nca_main.cpp:12, from nca.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c nmf.cpp -o nmf.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/nmf/nmf_main.cpp:12, from nmf.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c pca.cpp -o pca.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/pca/pca_main.cpp:13, from pca.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c perceptron.cpp -o perceptron.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/perceptron/perceptron_main.cpp:15, from perceptron.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c preprocess_binarize.cpp -o preprocess_binarize.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/preprocess/preprocess_binarize_main.cpp:12, from preprocess_binarize.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c preprocess_describe.cpp -o preprocess_describe.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/preprocess/preprocess_describe_main.cpp:12, from preprocess_describe.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c preprocess_one_hot_encoding.cpp -o preprocess_one_hot_encoding.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/preprocess/preprocess_one_hot_encoding_main.cpp:12, from preprocess_one_hot_encoding.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c preprocess_scale.cpp -o preprocess_scale.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/preprocess/preprocess_scale_main.cpp:12, from preprocess_scale.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c preprocess_split.cpp -o preprocess_split.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/preprocess/preprocess_split_main.cpp:12, from preprocess_split.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -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.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c radical.cpp -o radical.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/radical/radical_main.cpp:13, from radical.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c random_forest.cpp -o random_forest.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/random_forest/random_forest_main.cpp:12, from random_forest.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c softmax_regression.cpp -o softmax_regression.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/softmax_regression/softmax_regression_main.cpp:11, from softmax_regression.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -c sparse_coding.cpp -o sparse_coding.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 ../inst/include/mlpack/core.hpp:44, from ../inst/include/mlpack/methods/sparse_coding/sparse_coding_main.cpp:12, from sparse_coding.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 -I"/home/hornik/tmp/R.check/r-release-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppArmadillo/include' -I'/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/RcppEnsmallen/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -I. -I../inst/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -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.check/r-release-gcc/Work/build/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.check/r-release-gcc/Work/build/lib -lRblas -lgfortran -lm -lquadmath -L/home/hornik/tmp/R.check/r-release-gcc/Work/build/lib -lR make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp6d66TR/R.INSTALL27207a690676c3/mlpack/src' make[1]: Entering directory '/home/hornik/tmp/scratch/Rtmp6d66TR/R.INSTALL27207a690676c3/mlpack/src' make[1]: Leaving directory '/home/hornik/tmp/scratch/Rtmp6d66TR/R.INSTALL27207a690676c3/mlpack/src' installing to /home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/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)