* installing to library ‘/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages’
* installing *source* package ‘rayvertex’ ...
** package ‘rayvertex’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++-13 (Debian 13.2.0-25) 13.2.0’
using C++17
make[1]: Entering directory '/tmp/RtmpXRPOfz/R.INSTALL359e9c5cf39f77/rayvertex/src'
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c RcppExports.cpp -o RcppExports.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c filltri.cpp -o filltri.o
In file included from filltri.cpp:1:
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++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c light.cpp -o light.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c line.cpp -o line.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c load_obj.cpp -o load_obj.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c load_ply.cpp -o load_ply.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c miniply.cpp -o miniply.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c rasterize_lines_rcpp.cpp -o rasterize_lines_rcpp.o
In file included from rasterize_lines_rcpp.cpp:22:
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++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c rayimage.cpp -o rayimage.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c rayraster.cpp -o rayraster.o
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:1342:10: note: in expansion of macro ‘CASE’
 1342 |          CASE(1,2) dest[0]=src[0], dest[1]=255; break;
      |          ^~~~
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:1343:10: note: in expansion of macro ‘CASE’
 1343 |          CASE(1,3) dest[0]=dest[1]=dest[2]=src[0]; break;
      |          ^~~~
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:1344:10: note: in expansion of macro ‘CASE’
 1344 |          CASE(1,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=255; break;
      |          ^~~~
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:1345:10: note: in expansion of macro ‘CASE’
 1345 |          CASE(2,1) dest[0]=src[0]; break;
      |          ^~~~
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:1346:10: note: in expansion of macro ‘CASE’
 1346 |          CASE(2,3) dest[0]=dest[1]=dest[2]=src[0]; break;
      |          ^~~~
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:1347:10: note: in expansion of macro ‘CASE’
 1347 |          CASE(2,4) dest[0]=dest[1]=dest[2]=src[0], dest[3]=src[1]; break;
      |          ^~~~
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:1348:10: note: in expansion of macro ‘CASE’
 1348 |          CASE(3,4) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2],dest[3]=255; break;
      |          ^~~~
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:1349:10: note: in expansion of macro ‘CASE’
 1349 |          CASE(3,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break;
      |          ^~~~
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:1350:10: note: in expansion of macro ‘CASE’
 1350 |          CASE(3,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = 255; break;
      |          ^~~~
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:1351:10: note: in expansion of macro ‘CASE’
 1351 |          CASE(4,1) dest[0]=stbi__compute_y(src[0],src[1],src[2]); break;
      |          ^~~~
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:1352:10: note: in expansion of macro ‘CASE’
 1352 |          CASE(4,2) dest[0]=stbi__compute_y(src[0],src[1],src[2]), dest[1] = src[3]; break;
      |          ^~~~
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:1353:10: note: in expansion of macro ‘CASE’
 1353 |          CASE(4,3) dest[0]=src[0],dest[1]=src[1],dest[2]=src[2]; break;
      |          ^~~~
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:4031:13: note: in expansion of macro ‘CASE’
 4031 |             CASE(STBI__F_sub)          cur[k] = STBI__BYTECAST(raw[k] + cur[k-filter_bytes]); break;
      |             ^~~~
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:4032:13: note: in expansion of macro ‘CASE’
 4032 |             CASE(STBI__F_up)           cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break;
      |             ^~~~
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:4033:13: note: in expansion of macro ‘CASE’
 4033 |             CASE(STBI__F_avg)          cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-filter_bytes])>>1)); break;
      |             ^~~~
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:4034:13: note: in expansion of macro ‘CASE’
 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: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:4035:13: note: in expansion of macro ‘CASE’
 4035 |             CASE(STBI__F_avg_first)    cur[k] = STBI__BYTECAST(raw[k] + (cur[k-filter_bytes] >> 1)); break;
      |             ^~~~
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:4036:13: note: in expansion of macro ‘CASE’
 4036 |             CASE(STBI__F_paeth_first)  cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-filter_bytes],0,0)); break;
      |             ^~~~
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:4047:13: note: in expansion of macro ‘CASE’
 4047 |             CASE(STBI__F_none)         cur[k] = raw[k]; break;
      |             ^~~~
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:4048:13: note: in expansion of macro ‘CASE’
 4048 |             CASE(STBI__F_sub)          cur[k] = STBI__BYTECAST(raw[k] + cur[k-out_n]); break;
      |             ^~~~
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:4049:13: note: in expansion of macro ‘CASE’
 4049 |             CASE(STBI__F_up)           cur[k] = STBI__BYTECAST(raw[k] + prior[k]); break;
      |             ^~~~
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:4050:13: note: in expansion of macro ‘CASE’
 4050 |             CASE(STBI__F_avg)          cur[k] = STBI__BYTECAST(raw[k] + ((prior[k] + cur[k-out_n])>>1)); break;
      |             ^~~~
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:4051:13: note: in expansion of macro ‘CASE’
 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: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:4052:13: note: in expansion of macro ‘CASE’
 4052 |             CASE(STBI__F_avg_first)    cur[k] = STBI__BYTECAST(raw[k] + (cur[k-out_n] >> 1)); break;
      |             ^~~~
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:4053:13: note: in expansion of macro ‘CASE’
 4053 |             CASE(STBI__F_paeth_first)  cur[k] = STBI__BYTECAST(raw[k] + stbi__paeth(cur[k-out_n],0,0)); break;
      |             ^~~~
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<IShader*>::size_type’ {aka ‘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++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c shaders.cpp -o shaders.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c smooth_normals_mesh_rcpp.cpp -o smooth_normals_mesh_rcpp.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c tonemap.cpp -o tonemap.o
g++-13 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-patched-gcc/Work/build/include" -DNDEBUG  -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/spacefillr/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/RcppThread/include' -I'/home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/rayimage/include' -I/usr/local/include -D_FORTIFY_SOURCE=3  -I../src/glm -I../src/glm/gtc -fpic  -g -O2 -Wall -pedantic -mtune=native   -c wireframe.cpp -o wireframe.o
g++-13 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -Wl,-O1 -o rayvertex.so 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 -L/home/hornik/tmp/R.check/r-patched-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpXRPOfz/R.INSTALL359e9c5cf39f77/rayvertex/src'
make[1]: Entering directory '/tmp/RtmpXRPOfz/R.INSTALL359e9c5cf39f77/rayvertex/src'
make[1]: Leaving directory '/tmp/RtmpXRPOfz/R.INSTALL359e9c5cf39f77/rayvertex/src'
installing to /home/hornik/tmp/R.check/r-patched-gcc/Work/build/Packages/00LOCK-rayvertex/00new/rayvertex/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
  converting help for package ‘rayvertex’
    finding HTML links ... done
    add_light                               html  
    add_lines                               html  
    add_plane_uv_mesh                       html  
    add_shape                               html  
    arrow_mesh                              html  
    center_mesh                             html  
    change_material                         html  
    color_lines                             html  
    cone_mesh                               html  
    construct_mesh                          html  
    convert_color                           html  
    cross_prod                              html  
    cube_mesh                               html  
    cylinder_mesh                           html  
    directional_light                       html  
    flip_orientation_mesh                   html  
    fliplr                                  html  
    flipud                                  html  
    generate_cornell_mesh                   html  
    generate_line                           html  
    generate_rot_matrix                     html  
    generate_rotation_matrix_from_direction
                                            html  
    generate_toon_outline                   html  
    get_file_type                           html  
    get_mesh_bbox                           html  
    get_mesh_center                         html  
    get_time                                html  
    init_time                               html  
    material_list                           html  
    merge_scene                             html  
    mesh3d_mesh                             html  
    obj_mesh                                html  
    ply_mesh                                html  
    point_light                             html  
    print_time                              html  
    r_obj                                   html  
    rasterize_lines                         html  
    rasterize_scene                         html  
    read_obj                                html  
    read_ply                                html  
    remove_duplicate_materials              html  
    rescale                                 html  
    rotate_lines                            html  
    rotate_mesh                             html  
    run_documentation                       html  
    save_png                                html  
    scale_lines                             html  
    scale_mesh                              html  
    scale_unit_mesh                         html  
    scene_from_list                         html  
    segment_mesh                            html  
    set_material                            html  
    smooth_normals_mesh                     html  
    sphere_mesh                             html  
    swap_yz                                 html  
    text3d_mesh                             html  
    torus_mesh                              html  
    translate_lines                         html  
    translate_mesh                          html  
    validate_mesh                           html  
    validate_scene                          html  
    verify_vertex_shader                    html  
    write_scene_to_obj                      html  
    xy_rect_mesh                            html  
    xz_rect_mesh                            html  
    yz_rect_mesh                            html  
** 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
* creating tarball
packaged installation of ‘rayvertex’ as ‘rayvertex_0.10.4_R_x86_64-pc-linux-gnu.tar.gz’
* DONE (rayvertex)