* installing *source* package ‘mlpack’ ... ** using staged installation ** libs using C++ compiler: ‘Debian clang version 19.1.0 (4)’ clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from ./../inst/include/mlpack.h:52: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from RcppExports.cpp:4: In file included from ./../inst/include/mlpack.h:52: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c adaboost.cpp -o adaboost.o In file included from adaboost.cpp:9: In file included from ../inst/include/mlpack/methods/adaboost/adaboost_main.cpp:34: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from adaboost.cpp:9: In file included from ../inst/include/mlpack/methods/adaboost/adaboost_main.cpp:34: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c approx_kfn.cpp -o approx_kfn.o In file included from approx_kfn.cpp:9: In file included from ../inst/include/mlpack/methods/approx_kfn/approx_kfn_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from approx_kfn.cpp:9: In file included from ../inst/include/mlpack/methods/approx_kfn/approx_kfn_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c bayesian_linear_regression.cpp -o bayesian_linear_regression.o In file included from bayesian_linear_regression.cpp:9: In file included from ../inst/include/mlpack/methods/bayesian_linear_regression/bayesian_linear_regression_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from bayesian_linear_regression.cpp:9: In file included from ../inst/include/mlpack/methods/bayesian_linear_regression/bayesian_linear_regression_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c cf.cpp -o cf.o In file included from cf.cpp:9: In file included from ../inst/include/mlpack/methods/cf/cf_main.cpp:19: In file included from ../inst/include/mlpack/methods/cf/cf.hpp:22: In file included from ../inst/include/mlpack/methods/amf/amf.hpp:23: In file included from ../inst/include/mlpack/methods/amf/update_rules/update_rules.hpp:18: ../inst/include/mlpack/methods/amf/update_rules/svd_batch_learning.hpp:210:16: warning: unused variable 'm' [-Wunused-variable] 210 | const size_t m = (size_t) V.n_cols; | ^ ../inst/include/mlpack/methods/amf/update_rules/svd_batch_learning.hpp:264:16: warning: unused variable 'n' [-Wunused-variable] 264 | const size_t n = (size_t) V.n_rows; | ^ In file included from cf.cpp:9: In file included from ../inst/include/mlpack/methods/cf/cf_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from cf.cpp:9: In file included from ../inst/include/mlpack/methods/cf/cf_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c dbscan.cpp -o dbscan.o In file included from dbscan.cpp:9: In file included from ../inst/include/mlpack/methods/dbscan/dbscan_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from dbscan.cpp:9: In file included from ../inst/include/mlpack/methods/dbscan/dbscan_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c decision_tree.cpp -o decision_tree.o In file included from decision_tree.cpp:9: In file included from ../inst/include/mlpack/methods/decision_tree/decision_tree_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from decision_tree.cpp:9: In file included from ../inst/include/mlpack/methods/decision_tree/decision_tree_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c det.cpp -o det.o In file included from det.cpp:9: In file included from ../inst/include/mlpack/methods/det/det_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from det.cpp:9: In file included from ../inst/include/mlpack/methods/det/det_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c emst.cpp -o emst.o In file included from emst.cpp:9: In file included from ../inst/include/mlpack/methods/emst/emst_main.cpp:27: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from emst.cpp:9: In file included from ../inst/include/mlpack/methods/emst/emst_main.cpp:27: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c fastmks.cpp -o fastmks.o In file included from fastmks.cpp:9: In file included from ../inst/include/mlpack/methods/fastmks/fastmks_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from fastmks.cpp:9: In file included from ../inst/include/mlpack/methods/fastmks/fastmks_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c gmm_generate.cpp -o gmm_generate.o In file included from gmm_generate.cpp:9: In file included from ../inst/include/mlpack/methods/gmm/gmm_generate_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gmm_generate.cpp:9: In file included from ../inst/include/mlpack/methods/gmm/gmm_generate_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c gmm_probability.cpp -o gmm_probability.o In file included from gmm_probability.cpp:9: In file included from ../inst/include/mlpack/methods/gmm/gmm_probability_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gmm_probability.cpp:9: In file included from ../inst/include/mlpack/methods/gmm/gmm_probability_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c gmm_train.cpp -o gmm_train.o In file included from gmm_train.cpp:9: In file included from ../inst/include/mlpack/methods/gmm/gmm_train_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from gmm_train.cpp:9: In file included from ../inst/include/mlpack/methods/gmm/gmm_train_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c hmm_generate.cpp -o hmm_generate.o In file included from hmm_generate.cpp:9: In file included from ../inst/include/mlpack/methods/hmm/hmm_generate_main.cpp:14: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hmm_generate.cpp:9: In file included from ../inst/include/mlpack/methods/hmm/hmm_generate_main.cpp:14: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c hmm_loglik.cpp -o hmm_loglik.o In file included from hmm_loglik.cpp:9: In file included from ../inst/include/mlpack/methods/hmm/hmm_loglik_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hmm_loglik.cpp:9: In file included from ../inst/include/mlpack/methods/hmm/hmm_loglik_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c hmm_train.cpp -o hmm_train.o In file included from hmm_train.cpp:9: In file included from ../inst/include/mlpack/methods/hmm/hmm_train_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hmm_train.cpp:9: In file included from ../inst/include/mlpack/methods/hmm/hmm_train_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c hmm_viterbi.cpp -o hmm_viterbi.o In file included from hmm_viterbi.cpp:9: In file included from ../inst/include/mlpack/methods/hmm/hmm_viterbi_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hmm_viterbi.cpp:9: In file included from ../inst/include/mlpack/methods/hmm/hmm_viterbi_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c hoeffding_tree.cpp -o hoeffding_tree.o In file included from hoeffding_tree.cpp:9: In file included from ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp:19: In file included from ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree.hpp:573: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1145:7: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 1145 | ar(CEREAL_VECTOR_POINTER(children)); | ^ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1141:5: note: previous statement is here 1141 | else | ^ In file included from hoeffding_tree.cpp:9: In file included from ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from hoeffding_tree.cpp:9: In file included from ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c image_converter.cpp -o image_converter.o In file included from image_converter.cpp:9: In file included from ../inst/include/mlpack/methods/preprocess/image_converter_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from image_converter.cpp:9: In file included from ../inst/include/mlpack/methods/preprocess/image_converter_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c kde.cpp -o kde.o In file included from kde.cpp:9: In file included from ../inst/include/mlpack/methods/kde/kde_main.cpp:20: ../inst/include/mlpack/methods/kde/kde_model.hpp:37:42: warning: extra ';' inside a class [-Wextra-semi] 37 | HAS_MEM_FUNC(Normalizer, HasNormalizer); | ^ In file included from kde.cpp:9: In file included from ../inst/include/mlpack/methods/kde/kde_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from kde.cpp:9: In file included from ../inst/include/mlpack/methods/kde/kde_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c kernel_pca.cpp -o kernel_pca.o In file included from kernel_pca.cpp:9: In file included from ../inst/include/mlpack/methods/kernel_pca/kernel_pca_main.cpp:18: In file included from ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree.hpp:573: ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1145:7: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] 1145 | ar(CEREAL_VECTOR_POINTER(children)); | ^ ../inst/include/mlpack/methods/hoeffding_trees/hoeffding_tree_impl.hpp:1141:5: note: previous statement is here 1141 | else | ^ In file included from kernel_pca.cpp:9: In file included from ../inst/include/mlpack/methods/kernel_pca/kernel_pca_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from kernel_pca.cpp:9: In file included from ../inst/include/mlpack/methods/kernel_pca/kernel_pca_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 36 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c kfn.cpp -o kfn.o In file included from kfn.cpp:9: In file included from ../inst/include/mlpack/methods/neighbor_search/kfn_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from kfn.cpp:9: In file included from ../inst/include/mlpack/methods/neighbor_search/kfn_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c kmeans.cpp -o kmeans.o In file included from kmeans.cpp:9: In file included from ../inst/include/mlpack/methods/kmeans/kmeans_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from kmeans.cpp:9: In file included from ../inst/include/mlpack/methods/kmeans/kmeans_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c knn.cpp -o knn.o In file included from knn.cpp:9: In file included from ../inst/include/mlpack/methods/neighbor_search/knn_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from knn.cpp:9: In file included from ../inst/include/mlpack/methods/neighbor_search/knn_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c krann.cpp -o krann.o In file included from krann.cpp:9: In file included from ../inst/include/mlpack/methods/rann/krann_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from krann.cpp:9: In file included from ../inst/include/mlpack/methods/rann/krann_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c lars.cpp -o lars.o In file included from lars.cpp:9: In file included from ../inst/include/mlpack/methods/lars/lars_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lars.cpp:9: In file included from ../inst/include/mlpack/methods/lars/lars_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c linear_regression.cpp -o linear_regression.o In file included from linear_regression.cpp:9: In file included from ../inst/include/mlpack/methods/linear_regression/linear_regression_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from linear_regression.cpp:9: In file included from ../inst/include/mlpack/methods/linear_regression/linear_regression_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c linear_svm.cpp -o linear_svm.o In file included from linear_svm.cpp:9: In file included from ../inst/include/mlpack/methods/linear_svm/linear_svm_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from linear_svm.cpp:9: In file included from ../inst/include/mlpack/methods/linear_svm/linear_svm_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c lmnn.cpp -o lmnn.o In file included from lmnn.cpp:9: In file included from ../inst/include/mlpack/methods/lmnn/lmnn_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lmnn.cpp:9: In file included from ../inst/include/mlpack/methods/lmnn/lmnn_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c local_coordinate_coding.cpp -o local_coordinate_coding.o In file included from local_coordinate_coding.cpp:9: In file included from ../inst/include/mlpack/methods/local_coordinate_coding/local_coordinate_coding_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from local_coordinate_coding.cpp:9: In file included from ../inst/include/mlpack/methods/local_coordinate_coding/local_coordinate_coding_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c logistic_regression.cpp -o logistic_regression.o In file included from logistic_regression.cpp:9: In file included from ../inst/include/mlpack/methods/logistic_regression/logistic_regression_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from logistic_regression.cpp:9: In file included from ../inst/include/mlpack/methods/logistic_regression/logistic_regression_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c lsh.cpp -o lsh.o In file included from lsh.cpp:9: In file included from ../inst/include/mlpack/methods/lsh/lsh_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lsh.cpp:9: In file included from ../inst/include/mlpack/methods/lsh/lsh_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c mean_shift.cpp -o mean_shift.o In file included from mean_shift.cpp:9: In file included from ../inst/include/mlpack/methods/mean_shift/mean_shift_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from mean_shift.cpp:9: In file included from ../inst/include/mlpack/methods/mean_shift/mean_shift_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c nbc.cpp -o nbc.o In file included from nbc.cpp:9: In file included from ../inst/include/mlpack/methods/naive_bayes/nbc_main.cpp:15: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nbc.cpp:9: In file included from ../inst/include/mlpack/methods/naive_bayes/nbc_main.cpp:15: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c nca.cpp -o nca.o In file included from nca.cpp:9: In file included from ../inst/include/mlpack/methods/nca/nca_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nca.cpp:9: In file included from ../inst/include/mlpack/methods/nca/nca_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c nmf.cpp -o nmf.o In file included from nmf.cpp:9: In file included from ../inst/include/mlpack/methods/nmf/nmf_main.cpp:19: In file included from ../inst/include/mlpack/methods/amf/amf.hpp:23: In file included from ../inst/include/mlpack/methods/amf/update_rules/update_rules.hpp:18: ../inst/include/mlpack/methods/amf/update_rules/svd_batch_learning.hpp:210:16: warning: unused variable 'm' [-Wunused-variable] 210 | const size_t m = (size_t) V.n_cols; | ^ ../inst/include/mlpack/methods/amf/update_rules/svd_batch_learning.hpp:264:16: warning: unused variable 'n' [-Wunused-variable] 264 | const size_t n = (size_t) V.n_rows; | ^ In file included from nmf.cpp:9: In file included from ../inst/include/mlpack/methods/nmf/nmf_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nmf.cpp:9: In file included from ../inst/include/mlpack/methods/nmf/nmf_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c pca.cpp -o pca.o In file included from pca.cpp:9: In file included from ../inst/include/mlpack/methods/pca/pca_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from pca.cpp:9: In file included from ../inst/include/mlpack/methods/pca/pca_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c perceptron.cpp -o perceptron.o In file included from perceptron.cpp:9: In file included from ../inst/include/mlpack/methods/perceptron/perceptron_main.cpp:15: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from perceptron.cpp:9: In file included from ../inst/include/mlpack/methods/perceptron/perceptron_main.cpp:15: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c preprocess_binarize.cpp -o preprocess_binarize.o In file included from preprocess_binarize.cpp:9: In file included from ../inst/include/mlpack/methods/preprocess/preprocess_binarize_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from preprocess_binarize.cpp:9: In file included from ../inst/include/mlpack/methods/preprocess/preprocess_binarize_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c preprocess_describe.cpp -o preprocess_describe.o In file included from preprocess_describe.cpp:9: In file included from ../inst/include/mlpack/methods/preprocess/preprocess_describe_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from preprocess_describe.cpp:9: In file included from ../inst/include/mlpack/methods/preprocess/preprocess_describe_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c preprocess_one_hot_encoding.cpp -o preprocess_one_hot_encoding.o In file included from preprocess_one_hot_encoding.cpp:9: In file included from ../inst/include/mlpack/methods/preprocess/preprocess_one_hot_encoding_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from preprocess_one_hot_encoding.cpp:9: In file included from ../inst/include/mlpack/methods/preprocess/preprocess_one_hot_encoding_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c preprocess_scale.cpp -o preprocess_scale.o In file included from preprocess_scale.cpp:9: In file included from ../inst/include/mlpack/methods/preprocess/preprocess_scale_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from preprocess_scale.cpp:9: In file included from ../inst/include/mlpack/methods/preprocess/preprocess_scale_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c preprocess_split.cpp -o preprocess_split.o In file included from preprocess_split.cpp:9: In file included from ../inst/include/mlpack/methods/preprocess/preprocess_split_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from preprocess_split.cpp:9: In file included from ../inst/include/mlpack/methods/preprocess/preprocess_split_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c r_util.cpp -o r_util.o In file included from r_util.cpp:14: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from r_util.cpp:14: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c radical.cpp -o radical.o In file included from radical.cpp:9: In file included from ../inst/include/mlpack/methods/radical/radical_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from radical.cpp:9: In file included from ../inst/include/mlpack/methods/radical/radical_main.cpp:13: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c random_forest.cpp -o random_forest.o In file included from random_forest.cpp:9: In file included from ../inst/include/mlpack/methods/random_forest/random_forest_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from random_forest.cpp:9: In file included from ../inst/include/mlpack/methods/random_forest/random_forest_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c softmax_regression.cpp -o softmax_regression.o In file included from softmax_regression.cpp:9: In file included from ../inst/include/mlpack/methods/softmax_regression/softmax_regression_main.cpp:11: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from softmax_regression.cpp:9: In file included from ../inst/include/mlpack/methods/softmax_regression/softmax_regression_main.cpp:11: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c sparse_coding.cpp -o sparse_coding.o In file included from sparse_coding.cpp:9: In file included from ../inst/include/mlpack/methods/sparse_coding/sparse_coding_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from sparse_coding.cpp:9: In file included from ../inst/include/mlpack/methods/sparse_coding/sparse_coding_main.cpp:12: In file included from ../inst/include/mlpack/core.hpp:44: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-lcxx/include" -DNDEBUG -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/Rcpp/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppArmadillo/include' -I'/home/hornik/lib/R/Library/4.5/x86_64-linux-gnu/RcppEnsmallen/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -DSTRICT_R_HEADERS=1 -I. -I../inst/include -fpic -g -O3 -Wall -pedantic -DR_NO_REMAP -c test_r_binding.cpp -o test_r_binding.o In file included from test_r_binding.cpp:9: In file included from ./mlpack/bindings/R/tests//test_r_binding_main.cpp:13: In file included from ../inst/include/mlpack/core/util/io.hpp:31: In file included from ../inst/include/mlpack/core/data/load.hpp:26: In file included from ../inst/include/mlpack/core/data/load_image.hpp:29: ../inst/include/stb/stb_image.h:1284:18: warning: unused function 'stbi_load_from_memory' [-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:1291:18: warning: unused function 'stbi_load_from_callbacks' [-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:1299:18: warning: unused function 'stbi_load_gif_from_memory' [-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:1270:18: warning: unused function 'stbi_load_16_from_memory' [-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:1277:18: warning: unused function 'stbi_load_16_from_callbacks' [-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:1257:18: warning: unused function 'stbi_load_16' [-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:1333:16: warning: unused function 'stbi_loadf_from_memory' [-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:1340:16: warning: unused function 'stbi_loadf_from_callbacks' [-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:1348:16: warning: unused function 'stbi_loadf' [-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:1436:16: warning: unused function 'stbi_hdr_to_ldr_gamma' [-Wunused-function] 1436 | STBIDEF void stbi_hdr_to_ldr_gamma(float gamma) { stbi__h2l_gamma_i = 1/gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1437:16: warning: unused function 'stbi_hdr_to_ldr_scale' [-Wunused-function] 1437 | STBIDEF void stbi_hdr_to_ldr_scale(float scale) { stbi__h2l_scale_i = 1/scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1430:16: warning: unused function 'stbi_ldr_to_hdr_gamma' [-Wunused-function] 1430 | STBIDEF void stbi_ldr_to_hdr_gamma(float gamma) { stbi__l2h_gamma = gamma; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1431:16: warning: unused function 'stbi_ldr_to_hdr_scale' [-Wunused-function] 1431 | STBIDEF void stbi_ldr_to_hdr_scale(float scale) { stbi__l2h_scale = scale; } | ^~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1414:18: warning: unused function 'stbi_is_hdr_from_callbacks' [-Wunused-function] 1414 | STBIDEF int stbi_is_hdr_from_callbacks(stbi_io_callbacks const *clbk, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1372:13: warning: unused function 'stbi_is_hdr_from_memory' [-Wunused-function] 1372 | STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:1386:18: warning: unused function 'stbi_is_hdr' [-Wunused-function] 1386 | STBIDEF int stbi_is_hdr (char const *filename) | ^~~~~~~~~~~ ../inst/include/stb/stb_image.h:7293:13: warning: unused function 'stbi_info_from_memory' [-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:7300:13: warning: unused function 'stbi_info_from_callbacks' [-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:7307:13: warning: unused function 'stbi_is_16_bit_from_memory' [-Wunused-function] 7307 | STBIDEF int stbi_is_16_bit_from_memory(stbi_uc const *buffer, int len) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7314:13: warning: unused function 'stbi_is_16_bit_from_callbacks' [-Wunused-function] 7314 | STBIDEF int stbi_is_16_bit_from_callbacks(stbi_io_callbacks const *c, void *user) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:7250:13: warning: unused function 'stbi_info' [-Wunused-function] 7250 | STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp) | ^~~~~~~~~ ../inst/include/stb/stb_image.h:7271:13: warning: unused function 'stbi_is_16_bit' [-Wunused-function] 7271 | STBIDEF int stbi_is_16_bit(char const *filename) | ^~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4742:14: warning: unused function 'stbi_set_unpremultiply_on_load' [-Wunused-function] 4742 | STBIDEF void stbi_set_unpremultiply_on_load(int flag_true_if_should_unpremultiply) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4747:14: warning: unused function 'stbi_convert_iphone_png_to_rgb' [-Wunused-function] 4747 | STBIDEF void stbi_convert_iphone_png_to_rgb(int flag_true_if_should_convert) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:999:14: warning: unused function 'stbi_set_flip_vertically_on_load' [-Wunused-function] 999 | STBIDEF void stbi_set_flip_vertically_on_load(int flag_true_if_should_flip) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4260:15: warning: unused function 'stbi_zlib_decode_malloc' [-Wunused-function] 4260 | STBIDEF char *stbi_zlib_decode_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4281:13: warning: unused function 'stbi_zlib_decode_buffer' [-Wunused-function] 4281 | STBIDEF int stbi_zlib_decode_buffer(char *obuffer, int olen, char const *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4292:15: warning: unused function 'stbi_zlib_decode_noheader_malloc' [-Wunused-function] 4292 | STBIDEF char *stbi_zlib_decode_noheader_malloc(char const *buffer, int len, int *outlen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../inst/include/stb/stb_image.h:4308:13: warning: unused function 'stbi_zlib_decode_noheader_buffer' [-Wunused-function] 4308 | STBIDEF int stbi_zlib_decode_noheader_buffer(char *obuffer, int olen, const char *ibuffer, int ilen) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from test_r_binding.cpp:9: In file included from ./mlpack/bindings/R/tests//test_r_binding_main.cpp:13: In file included from ../inst/include/mlpack/core/util/io.hpp:32: In file included from ../inst/include/mlpack/core/data/save.hpp:24: In file included from ../inst/include/mlpack/core/data/save_image.hpp:26: ../inst/include/stb/stb_image_write.h:1182:14: warning: unused function 'stbi_write_png_to_func' [-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:482:14: warning: unused function 'stbi_write_bmp_to_func' [-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:580:14: warning: unused function 'stbi_write_tga_to_func' [-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:754:14: warning: unused function 'stbi_write_hdr_to_func' [-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:1514:14: warning: unused function 'stbi_write_jpg_to_func' [-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:266:15: warning: unused function 'stbi_flip_vertically_on_write' [-Wunused-function] 266 | STBIWDEF void stbi_flip_vertically_on_write(int flag) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 warnings generated. clang++-19 -stdlib=libc++ -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-lcxx/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 -llapack -L/home/hornik/tmp/R-d-clang-lcxx/lib -lRblas -lFortranRuntime -lFortranDecimal -lm -L/home/hornik/tmp/R-d-clang-lcxx/lib -lR installing to /home/hornik/tmp/CRAN_special_clang19/mlpack.Rcheck/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)