* installing *source* package ‘mlpack’ ... ** package ‘mlpack’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 37 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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: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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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: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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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: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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 37 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEnsmallen/include' -I/opt/R/arm64/include -I. -I../inst/include -fPIC -falign-functions=64 -Wall -g -O2 -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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] STBIWDEF void stbi_flip_vertically_on_write(int flag) ^ 35 warnings generated. clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -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 -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/mlpack.Rcheck/00LOCK-mlpack/00new/mlpack/libs ** generating debug symbols (dSYM) ** 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)