* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘msentropy’ ...
** this is package ‘msentropy’ version ‘0.1.4’
** package ‘msentropy’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Debian clang version 21.1.5 (1)’
using C++ compiler: ‘Debian clang version 21.1.5 (1)’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpGAfNNX/R.INSTALL178656446fca7/msentropy/src'
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c CleanSpectrum.c -o CleanSpectrum.o
CleanSpectrum.c:139:44: warning: static function 'printf' is used in an inline function with external linkage [-Wstatic-in-inline]
139 | if (__DEBUG__CLEAN_SPECTRUM__) printf("mz: %f, mz_delta_allowed_left: %f, mz_delta_allowed_right: %f\n", spectrum_2d[idx][0], mz_delta_allowed_left, mz_delta_allowed_right);
| ^
./CleanSpectrum.h:61:1: note: use 'static' to give inline function 'centroid_spectrum' internal linkage
61 | int centroid_spectrum(float_spec (*spectrum_2d)[2], int peaks_length, float min_ms2_difference_in_da, float min_ms2_difference_in_ppm, int* spectrum_argsort);
| ^
| static
/usr/include/x86_64-linux-gnu/bits/stdio2.h:135:1: note: 'printf' declared here
135 | printf (__fortify_clang_overload_arg (const char *, __restrict, __fmt), ...)
| ^
CleanSpectrum.c:148:44: warning: static function 'printf' is used in an inline function with external linkage [-Wstatic-in-inline]
148 | if (__DEBUG__CLEAN_SPECTRUM__) printf("idx_left: %d\n", idx_left);
| ^
./CleanSpectrum.h:61:1: note: use 'static' to give inline function 'centroid_spectrum' internal linkage
61 | int centroid_spectrum(float_spec (*spectrum_2d)[2], int peaks_length, float min_ms2_difference_in_da, float min_ms2_difference_in_ppm, int* spectrum_argsort);
| ^
| static
/usr/include/x86_64-linux-gnu/bits/stdio2.h:135:1: note: 'printf' declared here
135 | printf (__fortify_clang_overload_arg (const char *, __restrict, __fmt), ...)
| ^
CleanSpectrum.c:155:44: warning: static function 'printf' is used in an inline function with external linkage [-Wstatic-in-inline]
155 | if (__DEBUG__CLEAN_SPECTRUM__) printf("idx_right: %d\n", idx_right);
| ^
./CleanSpectrum.h:61:1: note: use 'static' to give inline function 'centroid_spectrum' internal linkage
61 | int centroid_spectrum(float_spec (*spectrum_2d)[2], int peaks_length, float min_ms2_difference_in_da, float min_ms2_difference_in_ppm, int* spectrum_argsort);
| ^
| static
/usr/include/x86_64-linux-gnu/bits/stdio2.h:135:1: note: 'printf' declared here
135 | printf (__fortify_clang_overload_arg (const char *, __restrict, __fmt), ...)
| ^
CleanSpectrum.c:161:48: warning: static function 'printf' is used in an inline function with external linkage [-Wstatic-in-inline]
161 | if (__DEBUG__CLEAN_SPECTRUM__) printf("i: %d, mz: %f, intensity: %f\n", i, spectrum_2d[i][0], spectrum_2d[i][1]);
| ^
./CleanSpectrum.h:61:1: note: use 'static' to give inline function 'centroid_spectrum' internal linkage
61 | int centroid_spectrum(float_spec (*spectrum_2d)[2], int peaks_length, float min_ms2_difference_in_da, float min_ms2_difference_in_ppm, int* spectrum_argsort);
| ^
| static
/usr/include/x86_64-linux-gnu/bits/stdio2.h:135:1: note: 'printf' declared here
135 | printf (__fortify_clang_overload_arg (const char *, __restrict, __fmt), ...)
| ^
4 warnings generated.
clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c RcppExports.cpp -o RcppExports.o
clang-21 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c SpectralEntropy.c -o SpectralEntropy.o
clang++-21 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c entropy.cpp -o entropy.o
clang++-21 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -o msentropy.so CleanSpectrum.o RcppExports.o SpectralEntropy.o entropy.o -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpGAfNNX/R.INSTALL178656446fca7/msentropy/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpGAfNNX/R.INSTALL178656446fca7/msentropy/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpGAfNNX/R.INSTALL178656446fca7/msentropy/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/00LOCK-msentropy/00new/msentropy/libs
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** 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 (msentropy)