* 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 In file included from spectralIndices.cpp:4: tinyexpr.h:39:11: warning: ISO C++ forbids flexible array member 'parameters' [-Wpedantic] 39 | void *parameters[]; | ^~~~~~~~~~ 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:166:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 166 | {"abs", fabs, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:166:13: note: (near initialization for 'functions[0].address') tinyexpr.c:167:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 167 | {"acos", acos, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:167:14: note: (near initialization for 'functions[1].address') tinyexpr.c:168:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 168 | {"asin", asin, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:168:14: note: (near initialization for 'functions[2].address') tinyexpr.c:169:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 169 | {"atan", atan, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:169:14: note: (near initialization for 'functions[3].address') tinyexpr.c:170:15: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 170 | {"atan2", atan2, TE_FUNCTION2 | TE_FLAG_PURE, 0}, | ^~~~~ tinyexpr.c:170:15: note: (near initialization for 'functions[4].address') tinyexpr.c:171:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 171 | {"ceil", ceil, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:171:14: note: (near initialization for 'functions[5].address') tinyexpr.c:172:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 172 | {"cos", cos, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:172:13: note: (near initialization for 'functions[6].address') tinyexpr.c:173:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 173 | {"cosh", cosh, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:173:14: note: (near initialization for 'functions[7].address') tinyexpr.c:174:11: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 174 | {"e", e, TE_FUNCTION0 | TE_FLAG_PURE, 0}, | ^ tinyexpr.c:174:11: note: (near initialization for 'functions[8].address') tinyexpr.c:175:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 175 | {"exp", exp, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:175:13: note: (near initialization for 'functions[9].address') tinyexpr.c:176:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 176 | {"fac", fac, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:176:13: note: (near initialization for 'functions[10].address') tinyexpr.c:177:15: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 177 | {"floor", floor, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~~ tinyexpr.c:177:15: note: (near initialization for 'functions[11].address') tinyexpr.c:178:12: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 178 | {"ln", log, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:178:12: note: (near initialization for 'functions[12].address') tinyexpr.c:182:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 182 | {"log", log10, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~~ tinyexpr.c:182:13: note: (near initialization for 'functions[13].address') tinyexpr.c:184:15: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 184 | {"log10", log10, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~~ tinyexpr.c:184:15: note: (near initialization for 'functions[14].address') tinyexpr.c:185:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 185 | {"ncr", ncr, TE_FUNCTION2 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:185:13: note: (near initialization for 'functions[15].address') tinyexpr.c:186:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 186 | {"npr", npr, TE_FUNCTION2 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:186:13: note: (near initialization for 'functions[16].address') tinyexpr.c:187:12: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 187 | {"pi", pi, TE_FUNCTION0 | TE_FLAG_PURE, 0}, | ^~ tinyexpr.c:187:12: note: (near initialization for 'functions[17].address') tinyexpr.c:188:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 188 | {"pow", pow, TE_FUNCTION2 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:188:13: note: (near initialization for 'functions[18].address') tinyexpr.c:189:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 189 | {"sin", sin, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:189:13: note: (near initialization for 'functions[19].address') tinyexpr.c:190:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 190 | {"sinh", sinh, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:190:14: note: (near initialization for 'functions[20].address') tinyexpr.c:191:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 191 | {"sqrt", sqrt, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:191:14: note: (near initialization for 'functions[21].address') tinyexpr.c:192:13: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 192 | {"tan", tan, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~ tinyexpr.c:192:13: note: (near initialization for 'functions[22].address') tinyexpr.c:193:14: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 193 | {"tanh", tanh, TE_FUNCTION1 | TE_FLAG_PURE, 0}, | ^~~~ tinyexpr.c:193:14: note: (near initialization for 'functions[23].address') tinyexpr.c: In function 'next_token': tinyexpr.c:290:64: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 290 | case '+': s->type = TOK_INFIX; s->function = add; break; | ^ tinyexpr.c:291:64: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 291 | case '-': s->type = TOK_INFIX; s->function = sub; break; | ^ tinyexpr.c:292:64: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 292 | case '*': s->type = TOK_INFIX; s->function = mul; break; | ^ tinyexpr.c:293:64: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 293 | case '/': s->type = TOK_INFIX; s->function = divide; break; | ^ tinyexpr.c:294:64: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 294 | case '^': s->type = TOK_INFIX; s->function = pow; break; | ^ tinyexpr.c:295:64: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 295 | case '%': s->type = TOK_INFIX; s->function = fmod; break; | ^ tinyexpr.c: In function 'power': tinyexpr.c:427:49: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 427 | while (s->type == TOK_INFIX && (s->function == add || s->function == sub)) { | ^~ tinyexpr.c:427:71: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 427 | while (s->type == TOK_INFIX && (s->function == add || s->function == sub)) { | ^~ tinyexpr.c:428:25: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 428 | if (s->function == sub) sign = -sign; | ^~ tinyexpr.c:443:23: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 443 | ret->function = negate; | ^ tinyexpr.c: In function 'factor': tinyexpr.c:510:49: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 510 | while (s->type == TOK_INFIX && (s->function == pow)) { | ^~ tinyexpr.c:511:21: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 511 | te_fun2 t = s->function; | ^ tinyexpr.c:520:23: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 520 | ret->function = t; | ^ tinyexpr.c: In function 'term': tinyexpr.c:534:49: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 534 | while (s->type == TOK_INFIX && (s->function == mul || s->function == divide || s->function == fmod)) { | ^~ tinyexpr.c:534:71: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 534 | while (s->type == TOK_INFIX && (s->function == mul || s->function == divide || s->function == fmod)) { | ^~ tinyexpr.c:534:96: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 534 | while (s->type == TOK_INFIX && (s->function == mul || s->function == divide || s->function == fmod)) { | ^~ tinyexpr.c:535:21: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 535 | te_fun2 t = s->function; | ^ tinyexpr.c:544:23: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 544 | ret->function = t; | ^ tinyexpr.c: In function 'expr': tinyexpr.c:556:49: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 556 | while (s->type == TOK_INFIX && (s->function == add || s->function == sub)) { | ^~ tinyexpr.c:556:71: warning: ISO C forbids comparison of 'void *' with function pointer [-Wpedantic] 556 | while (s->type == TOK_INFIX && (s->function == add || s->function == sub)) { | ^~ tinyexpr.c:557:21: warning: ISO C forbids initialization between function pointer and 'void *' [-Wpedantic] 557 | te_fun2 t = s->function; | ^ tinyexpr.c:566:23: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 566 | ret->function = t; | ^ tinyexpr.c: In function 'list': tinyexpr.c:587:23: warning: ISO C forbids assignment between function pointer and 'void *' [-Wpedantic] 587 | ret->function = comma; | ^ tinyexpr.c: In function 'te_eval': tinyexpr.c:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:608:32: note: in expansion of macro 'TE_FUN' 608 | case 0: return TE_FUN(void)(); | ^~~~~~ tinyexpr.c:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:609:32: note: in expansion of macro 'TE_FUN' 609 | case 1: return TE_FUN(double)(M(0)); | ^~~~~~ tinyexpr.c:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:610:32: note: in expansion of macro 'TE_FUN' 610 | case 2: return TE_FUN(double, double)(M(0), M(1)); | ^~~~~~ tinyexpr.c:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:611:32: note: in expansion of macro 'TE_FUN' 611 | case 3: return TE_FUN(double, double, double)(M(0), M(1), M(2)); | ^~~~~~ tinyexpr.c:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:612:32: note: in expansion of macro 'TE_FUN' 612 | case 4: return TE_FUN(double, double, double, double)(M(0), M(1), M(2), M(3)); | ^~~~~~ tinyexpr.c:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:613:32: note: in expansion of macro 'TE_FUN' 613 | case 5: return TE_FUN(double, double, double, double, double)(M(0), M(1), M(2), M(3), M(4)); | ^~~~~~ tinyexpr.c:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:614:32: note: in expansion of macro 'TE_FUN' 614 | 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:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:615:32: note: in expansion of macro 'TE_FUN' 615 | 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:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:622:32: note: in expansion of macro 'TE_FUN' 622 | case 0: return TE_FUN(void*)(n->parameters[0]); | ^~~~~~ tinyexpr.c:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:623:32: note: in expansion of macro 'TE_FUN' 623 | case 1: return TE_FUN(void*, double)(n->parameters[1], M(0)); | ^~~~~~ tinyexpr.c:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:624:32: note: in expansion of macro 'TE_FUN' 624 | case 2: return TE_FUN(void*, double, double)(n->parameters[2], M(0), M(1)); | ^~~~~~ tinyexpr.c:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:625:32: note: in expansion of macro 'TE_FUN' 625 | case 3: return TE_FUN(void*, double, double, double)(n->parameters[3], M(0), M(1), M(2)); | ^~~~~~ tinyexpr.c:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:626:32: note: in expansion of macro 'TE_FUN' 626 | case 4: return TE_FUN(void*, double, double, double, double)(n->parameters[4], M(0), M(1), M(2), M(3)); | ^~~~~~ tinyexpr.c:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:627:32: note: in expansion of macro 'TE_FUN' 627 | 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:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:628:32: note: in expansion of macro 'TE_FUN' 628 | 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:594:22: warning: ISO C forbids conversion of object pointer to function pointer type [-Wpedantic] 594 | #define TE_FUN(...) ((double(*)(__VA_ARGS__))n->function) | ^ tinyexpr.c:629:32: note: in expansion of macro 'TE_FUN' 629 | 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)