* installing *source* package 'RStoolbox' ... ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.3.0' using C++ compiler: 'g++.exe (GCC) 13.3.0' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c classQA.cpp -o classQA.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c entropy.cpp -o entropy.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c gainOffsetRescale.cpp -o gainOffsetRescale.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c memory.cpp -o memory.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c nnls_solver.cpp -o nnls_solver.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c normImage.cpp -o normImage.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c oneHot.cpp -o oneHot.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c predictKmeans.cpp -o predictKmeans.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c predictMlc.cpp -o predictMlc.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c pwSimilarity.cpp -o pwSimilarity.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c rescaleImage.cpp -o rescaleImage.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c sam.cpp -o sam.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c spectralIndices.cpp -o spectralIndices.o gcc -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tinyexpr.c -o tinyexpr.o tinyexpr.c:165:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 165 | {"abs", fabs, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:165:13: note: (near initialization for 'functions[0].address') tinyexpr.c:166:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 166 | {"acos", acos, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:166:14: note: (near initialization for 'functions[1].address') tinyexpr.c:167:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 167 | {"asin", asin, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:167:14: note: (near initialization for 'functions[2].address') tinyexpr.c:168:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 168 | {"atan", atan, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:168:14: note: (near initialization for 'functions[3].address') tinyexpr.c:169:15: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 169 | {"atan2", atan2, TE_FUNCTION2 | TE_FLAG_PURE, 0}, | ^~~~~ tinyexpr.c:169:15: note: (near initialization for 'functions[4].address') tinyexpr.c:170:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 170 | {"ceil", ceil, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:170:14: note: (near initialization for 'functions[5].address') tinyexpr.c:171:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 171 | {"cos", cos, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:171:13: note: (near initialization for 'functions[6].address') tinyexpr.c:172:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 172 | {"cosh", cosh, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:172:14: note: (near initialization for 'functions[7].address') tinyexpr.c:173:11: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 173 | {"e", e, TE_FUNCTION0 | TE_FLAG_PURE, 0}, | ^ tinyexpr.c:173:11: note: (near initialization for 'functions[8].address') tinyexpr.c:174:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 174 | {"exp", exp, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:174:13: note: (near initialization for 'functions[9].address') tinyexpr.c:175:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 175 | {"fac", fac, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:175:13: note: (near initialization for 'functions[10].address') tinyexpr.c:176:15: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 176 | {"floor", floor, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~~ tinyexpr.c:176:15: note: (near initialization for 'functions[11].address') tinyexpr.c:177:12: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 177 | {"ln", log, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:177:12: note: (near initialization for 'functions[12].address') tinyexpr.c:181:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 181 | {"log", log10, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~~ tinyexpr.c:181:13: note: (near initialization for 'functions[13].address') tinyexpr.c:183:15: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 183 | {"log10", log10, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~~ tinyexpr.c:183:15: note: (near initialization for 'functions[14].address') tinyexpr.c:184:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 184 | {"ncr", ncr, TE_FUNCTION2 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:184:13: note: (near initialization for 'functions[15].address') tinyexpr.c:185:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 185 | {"npr", npr, TE_FUNCTION2 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:185:13: note: (near initialization for 'functions[16].address') tinyexpr.c:186:12: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 186 | {"pi", pi, TE_FUNCTION0 | TE_FLAG_PURE, 0}, | ^~ tinyexpr.c:186:12: note: (near initialization for 'functions[17].address') tinyexpr.c:187:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 187 | {"pow", pow, TE_FUNCTION2 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:187:13: note: (near initialization for 'functions[18].address') tinyexpr.c:188:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 188 | {"sin", sin, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:188:13: note: (near initialization for 'functions[19].address') tinyexpr.c:189:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 189 | {"sinh", sinh, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:189:14: note: (near initialization for 'functions[20].address') tinyexpr.c:190:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 190 | {"sqrt", sqrt, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:190:14: note: (near initialization for 'functions[21].address') tinyexpr.c:191:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 191 | {"tan", tan, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:191:13: note: (near initialization for 'functions[22].address') tinyexpr.c:192:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 192 | {"tanh", tanh, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:192:14: note: (near initialization for 'functions[23].address') tinyexpr.c: In function 'next_token': tinyexpr.c:289:64: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 289 | case '+': s->type = TOK_INFIX; s->function = add; break; | ^ tinyexpr.c:290:64: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 290 | case '-': s->type = TOK_INFIX; s->function = sub; break; | ^ tinyexpr.c:291:64: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 291 | case '*': s->type = TOK_INFIX; s->function = mul; break; | ^ tinyexpr.c:292:64: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 292 | case '/': s->type = TOK_INFIX; s->function = divide; break; | ^ tinyexpr.c:293:64: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 293 | case '^': s->type = TOK_INFIX; s->function = pow; break; | ^ tinyexpr.c:294:64: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 294 | case '%': s->type = TOK_INFIX; s->function = fmod; break; | ^ tinyexpr.c: In function 'power': tinyexpr.c:426:49: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 426 | while (s->type == TOK_INFIX && (s->function == add || s->function == sub)) { | ^~ tinyexpr.c:426:71: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 426 | while (s->type == TOK_INFIX && (s->function == add || s->function == sub)) { | ^~ tinyexpr.c:427:25: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 427 | if (s->function == sub) sign = -sign; | ^~ tinyexpr.c:442:23: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 442 | ret->function = negate; | ^ tinyexpr.c: In function 'factor': tinyexpr.c:509:49: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 509 | while (s->type == TOK_INFIX && (s->function == pow)) { | ^~ tinyexpr.c:510:21: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 510 | te_fun2 t = s->function; | ^ tinyexpr.c:519:23: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 519 | ret->function = t; | ^ tinyexpr.c: In function 'term': tinyexpr.c:533:49: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 533 | while (s->type == TOK_INFIX && (s->function == mul || s->function == divide || s->function == fmod)) { | ^~ tinyexpr.c:533:71: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 533 | while (s->type == TOK_INFIX && (s->function == mul || s->function == divide || s->function == fmod)) { | ^~ tinyexpr.c:533:96: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 533 | while (s->type == TOK_INFIX && (s->function == mul || s->function == divide || s->function == fmod)) { | ^~ tinyexpr.c:534:21: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 534 | te_fun2 t = s->function; | ^ tinyexpr.c:543:23: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 543 | ret->function = t; | ^ tinyexpr.c: In function 'expr': tinyexpr.c:555:49: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 555 | while (s->type == TOK_INFIX && (s->function == add || s->function == sub)) { | ^~ tinyexpr.c:555:71: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 555 | while (s->type == TOK_INFIX && (s->function == add || s->function == sub)) { | ^~ tinyexpr.c:556:21: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 556 | te_fun2 t = s->function; | ^ tinyexpr.c:565:23: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 565 | ret->function = t; | ^ tinyexpr.c: In function 'list': tinyexpr.c:586:23: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 586 | ret->function = comma; | ^ tinyexpr.c: In function 'te_eval': tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:607:32: note: in expansion of macro 'TE_FUN' 607 | case 0: return TE_FUN(void)(); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:608:32: note: in expansion of macro 'TE_FUN' 608 | case 1: return TE_FUN(double)(M(0)); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:609:32: note: in expansion of macro 'TE_FUN' 609 | case 2: return TE_FUN(double, double)(M(0), M(1)); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:610:32: note: in expansion of macro 'TE_FUN' 610 | case 3: return TE_FUN(double, double, double)(M(0), M(1), M(2)); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:611:32: note: in expansion of macro 'TE_FUN' 611 | case 4: return TE_FUN(double, double, double, double)(M(0), M(1), M(2), M(3)); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:612:32: note: in expansion of macro 'TE_FUN' 612 | case 5: return TE_FUN(double, double, double, double, double)(M(0), M(1), M(2), M(3), M(4)); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:613:32: note: in expansion of macro 'TE_FUN' 613 | case 6: return TE_FUN(double, double, double, double, double, double)(M(0), M(1), M(2), M(3), M(4), M(5)); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:614:32: note: in expansion of macro 'TE_FUN' 614 | case 7: return TE_FUN(double, double, double, double, double, double, double)(M(0), M(1), M(2), M(3), M(4), M(5), M(6)); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:621:32: note: in expansion of macro 'TE_FUN' 621 | case 0: return TE_FUN(void*)(n->parameters[0]); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:622:32: note: in expansion of macro 'TE_FUN' 622 | case 1: return TE_FUN(void*, double)(n->parameters[1], M(0)); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:623:32: note: in expansion of macro 'TE_FUN' 623 | case 2: return TE_FUN(void*, double, double)(n->parameters[2], M(0), M(1)); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:624:32: note: in expansion of macro 'TE_FUN' 624 | case 3: return TE_FUN(void*, double, double, double)(n->parameters[3], M(0), M(1), M(2)); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:625:32: note: in expansion of macro 'TE_FUN' 625 | case 4: return TE_FUN(void*, double, double, double, double)(n->parameters[4], M(0), M(1), M(2), M(3)); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:626:32: note: in expansion of macro 'TE_FUN' 626 | case 5: return TE_FUN(void*, double, double, double, double, double)(n->parameters[5], M(0), M(1), M(2), M(3), M(4)); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:627:32: note: in expansion of macro 'TE_FUN' 627 | case 6: return TE_FUN(void*, double, double, double, double, double, double)(n->parameters[6], M(0), M(1), M(2), M(3), M(4), M(5)); | ^~~~~~ tinyexpr.c:593:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 593 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:628:32: note: in expansion of macro 'TE_FUN' 628 | case 7: return TE_FUN(void*, double, double, double, double, double, double, double)(n->parameters[7], M(0), M(1), M(2), M(3), M(4), M(5), M(6)); | ^~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o RStoolbox.dll tmp.def RcppExports.o classQA.o entropy.o gainOffsetRescale.o init.o memory.o nnls_solver.o normImage.o oneHot.o predictKmeans.o predictMlc.o pwSimilarity.o rescaleImage.o sam.o spectralIndices.o tinyexpr.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-RStoolbox/00new/RStoolbox/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** building package indices ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (RStoolbox)