* installing *source* package 'rayvertex' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 12.3.0' using C++17 g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from RcppExports.cpp:5: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c filltri.cpp -o filltri.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from filltri.h:5, from filltri.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} filltri.h: At global scope: filltri.h:11:13: warning: 'void print_vec(vec3)' declared 'static' but never defined [-Wunused-function] 11 | static void print_vec(vec3 m); | ^~~~~~~~~ filltri.h:12:13: warning: 'void print_vec(vec4)' declared 'static' but never defined [-Wunused-function] 12 | static void print_vec(vec4 m); | ^~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c light.cpp -o light.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c line.cpp -o line.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from line.h:4, from line.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c load_obj.cpp -o load_obj.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from load_obj.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c load_ply.cpp -o load_ply.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from load_ply.cpp:3: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c miniply.cpp -o miniply.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rasterize_lines_rcpp.cpp -o rasterize_lines_rcpp.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from rasterize_lines_rcpp.cpp:6: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} In file included from rasterize_lines_rcpp.cpp:22: filltri.h: At global scope: filltri.h:11:13: warning: 'void print_vec(vec3)' declared 'static' but never defined [-Wunused-function] 11 | static void print_vec(vec3 m); | ^~~~~~~~~ filltri.h:12:13: warning: 'void print_vec(vec4)' declared 'static' but never defined [-Wunused-function] 12 | static void print_vec(vec4 m); | ^~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rayimage.cpp -o rayimage.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from rayimage.h:5, from rayimage.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c rayraster.cpp -o rayraster.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from rayraster.cpp:7: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} In file included from rayraster.cpp:19: stb_image.h: In function 'unsigned char* stbi__convert_format(unsigned char*, int, int, unsigned int, unsigned int)': stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1338:44: note: in definition of macro 'CASE' 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1342:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1342 | CASE(1,2) dest[0]=src[0], dest[1]=255; break; | ^~~~~ stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1338:44: note: in definition of macro 'CASE' 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1343:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1343 | CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~~ stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1338:44: note: in definition of macro 'CASE' 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1344:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1344 | CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break; | ^~~~~ stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1338:44: note: in definition of macro 'CASE' 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1345:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1345 | CASE(2,1) dest[0]=src[0]; break; | ^~~~~ stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1338:44: note: in definition of macro 'CASE' 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1346:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1346 | CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break; | ^~~~~ stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1338:44: note: in definition of macro 'CASE' 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1347:68: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1347 | CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break; | ^~~~~ stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1338:44: note: in definition of macro 'CASE' 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1348:78: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1348 | CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break; | ^~~~~ stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1338:44: note: in definition of macro 'CASE' 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1349:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1349 | CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~~ stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1338:44: note: in definition of macro 'CASE' 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1350:82: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1350 | CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break; | ^~~~~ stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1338:44: note: in definition of macro 'CASE' 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1351:67: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1351 | CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break; | ^~~~~ stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1338:44: note: in definition of macro 'CASE' 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1352:85: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1352 | CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break; | ^~~~~ stb_image.h:1338:44: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1338:44: note: in definition of macro 'CASE' 1338 | #define CASE(a,b) case COMBO(a,b): for(i=x-1; i >= 0; --i, src += a, dest += b) | ^~~ stb_image.h:1353:66: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 1353 | CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break; | ^~~~~ stb_image.h: In function 'int stbi__create_png_image_raw(stbi__png*, stbi_uc*, stbi__uint32, int, stbi__uint32, stbi__uint32, int, int)': stb_image.h:4027:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4027 | for (k=0; k < nk; ++k) | ^~~ stb_image.h:4027:17: note: in definition of macro 'CASE' 4027 | for (k=0; k < nk; ++k) | ^~~ stb_image.h:4031:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4031 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break; | ^~~~~ stb_image.h:4027:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4027 | for (k=0; k < nk; ++k) | ^~~ stb_image.h:4027:17: note: in definition of macro 'CASE' 4027 | for (k=0; k < nk; ++k) | ^~~ stb_image.h:4032:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4032 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~~ stb_image.h:4027:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4027 | for (k=0; k < nk; ++k) | ^~~ stb_image.h:4027:17: note: in definition of macro 'CASE' 4027 | for (k=0; k < nk; ++k) | ^~~ stb_image.h:4033:113: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4033 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break; | ^~~~~ stb_image.h:4027:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4027 | for (k=0; k < nk; ++k) | ^~~ stb_image.h:4027:17: note: in definition of macro 'CASE' 4027 | for (k=0; k < nk; ++k) | ^~~ stb_image.h:4034:139: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4034 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],prior[k],prior[k-filter_bytes])); break; | ^~~~~ stb_image.h:4027:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4027 | for (k=0; k < nk; ++k) | ^~~ stb_image.h:4027:17: note: in definition of macro 'CASE' 4027 | for (k=0; k < nk; ++k) | ^~~ stb_image.h:4035:102: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4035 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break; | ^~~~~ stb_image.h:4027:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4027 | for (k=0; k < nk; ++k) | ^~~ stb_image.h:4027:17: note: in definition of macro 'CASE' 4027 | for (k=0; k < nk; ++k) | ^~~ stb_image.h:4036:112: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4036 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break; | ^~~~~ stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4045:20: note: in definition of macro 'CASE' 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4047:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4047 | CASE(STBI__F_none) cur[k] = raw[k]; break; | ^~~~~ stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4045:20: note: in definition of macro 'CASE' 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4048:88: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4048 | CASE(STBI__F_sub) cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break; | ^~~~~ stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4045:20: note: in definition of macro 'CASE' 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4049:84: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4049 | CASE(STBI__F_up) cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break; | ^~~~~ stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4045:20: note: in definition of macro 'CASE' 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4050:106: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4050 | CASE(STBI__F_avg) cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break; | ^~~~~ stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4045:20: note: in definition of macro 'CASE' 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4051:125: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4051 | CASE(STBI__F_paeth) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],prior[k],prior[k-out_n])); break; | ^~~~~ stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4045:20: note: in definition of macro 'CASE' 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4052:95: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4052 | CASE(STBI__F_avg_first) cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break; | ^~~~~ stb_image.h:4045:20: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4045:20: note: in definition of macro 'CASE' 4045 | for (k=0; k < img_n; ++k) | ^~~ stb_image.h:4053:105: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 4053 | CASE(STBI__F_paeth_first) cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break; | ^~~~~ rayraster.cpp: In function 'Rcpp::List rasterize(Rcpp::List, Rcpp::NumericMatrix, Rcpp::NumericMatrix, int, int, Rcpp::NumericVector, Rcpp::NumericVector, Rcpp::NumericVector, double, Rcpp::IntegerVector, bool, bool, bool, double, double, int, int, Rcpp::LogicalVector, Rcpp::LogicalVector, Rcpp::LogicalVector, Rcpp::LogicalVector, Rcpp::LogicalVector, Rcpp::LogicalVector, Rcpp::LogicalVector, Rcpp::LogicalVector, int, bool, double, double, double, Rcpp::NumericVector, Rcpp::IntegerVector, Rcpp::NumericVector, double, double, Rcpp::NumericVector, Rcpp::LogicalVector, bool, Rcpp::LogicalVector&, Rcpp::LogicalVector&, Rcpp::LogicalVector, Rcpp::String, double, Rcpp::LogicalVector, bool, bool, Rcpp::NumericVector, bool)': rayraster.cpp:1252:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 1252 | for(int i = 0; i < depthshaders[j].size(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~ rayraster.cpp:1267:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1267 | for(unsigned int i = 0; i < linear_depth.nrow(); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~ rayraster.cpp:1268:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 1268 | for(unsigned int j= 0; j < linear_depth.ncol(); j++) { | ~~^~~~~~~~~~~~~~~~~~~~~ In file included from rayraster.cpp:25: filltri.h: At global scope: filltri.h:11:13: warning: 'void print_vec(vec3)' declared 'static' but never defined [-Wunused-function] 11 | static void print_vec(vec3 m); | ^~~~~~~~~ filltri.h:12:13: warning: 'void print_vec(vec4)' declared 'static' but never defined [-Wunused-function] 12 | static void print_vec(vec4 m); | ^~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c shaders.cpp -o shaders.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from model.h:5, from shaders.h:5, from shaders.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c smooth_normals_mesh_rcpp.cpp -o smooth_normals_mesh_rcpp.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from smooth_normals_mesh_rcpp.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c tonemap.cpp -o tonemap.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from tonemap.h:4, from tonemap.cpp:1: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/spacefillr/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppThread/include' -I'D:/RCompile/CRANincoming/R-devel/lib/rayimage/include' -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include" -I../src/glm -I../src/glm/gtc -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c wireframe.cpp -o wireframe.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/routines.h:26, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:128, from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp.h:27, from wireframe.cpp:4: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = true; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:53:20: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 53 | Rprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h: In member function 'std::streamsize Rcpp::Rstreambuf::xsputn(const char*, std::streamsize) [with bool OUTPUT = false; std::streamsize = long long int]': D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/iostream/Rstreambuf.h:57:21: warning: field precision specifier '.*' expects argument of type 'int', but argument 2 has type 'std::streamsize' {aka 'long long int'} [-Wformat=] 57 | REprintf("%.*s", num, s); | ~~^~ ~~~ | | | | int std::streamsize {aka long long int} g++ -shared -s -static-libgcc -o rayvertex.dll tmp.def RcppExports.o filltri.o light.o line.o load_obj.o load_ply.o miniply.o rasterize_lines_rcpp.o rayimage.o rayraster.o shaders.o smooth_normals_mesh_rcpp.o tonemap.o wireframe.o -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-rayvertex/00new/rayvertex/libs/x64 ** 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 ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (rayvertex)