* installing *source* package ‘Rvcg’ ... ** package ‘Rvcg’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘clang version 18.1.4’ using C++ compiler: ‘clang version 18.1.4’ make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/Rvcg/src' /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c vcglib/wrap/ply/plylib.cpp -o vcglib/wrap/ply/plylib.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c checkListNames.cpp -o checkListNames.o /usr/local/clang18/bin/clang -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fpic -O3 -Wall -pedantic -Wp,-D_FORTIFY_SOURCE=3 -c init.c -o init.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RallRead.cpp -o RallRead.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rarea.cpp -o Rarea.o In file included from RallRead.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from RallRead.cpp:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rballpivot.cpp -o Rballpivot.o In file included from Rarea.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rborder.cpp -o Rborder.o In file included from Rarea.cpp:2: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from Rballpivot.cpp:12: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rballpivot.cpp:12: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rballpivot.cpp:12: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rballpivot.cpp:19: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rballpivot.cpp:20: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rballpivot.cpp:20: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rballpivot.cpp:20: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rballpivot.cpp:36: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rballpivot.cpp:36: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rballpivot.cpp:36: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rballpivot.cpp:36: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rballpivot.cpp:36: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rballpivot.cpp:37: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Rballpivot.cpp:102: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ Rballpivot.cpp:42:9: note: previous definition is here 42 | #define RcppExport extern "C" | ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ RallRead.cpp:79:12: warning: unused variable 'tex' [-Wunused-variable] 79 | bool tex = false; | ^~~ In file included from Rborder.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rclean.cpp -o Rclean.o Rarea.cpp:14:9: warning: unused variable 'i' [-Wunused-variable] 14 | int i; | ^ 31 warnings generated. In file included from Rclean.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ 33 warnings generated. In file included from Rclean.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rclost.cpp -o Rclost.o In file included from Rclean.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Rclean.cpp:2: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ 32 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rcurvature.cpp -o Rcurvature.o In file included from Rclost.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Rclost.cpp:3: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rdijkstra.cpp -o Rdijkstra.o In file included from Rcurvature.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rexport.cpp -o Rexport.o In file included from Rcurvature.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ 33 warnings generated. In file included from Rcurvature.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ Rclean.cpp:18:7: warning: unused variable 'i' [-Wunused-variable] 18 | int i, rem; | ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RgetEdge.cpp -o RgetEdge.o In file included from Rcurvature.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rintersect.cpp -o Rintersect.o In file included from Rcurvature.cpp:2: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Risolated.cpp -o Risolated.o In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Rdijkstra.cpp:2: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rexport.cpp:10: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ In file included from Risolated.cpp:6: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from RgetEdge.cpp:2: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rintersect.cpp:2: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Risolated.cpp:7: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ 33 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Risoremesh.cpp -o Risoremesh.o Rdijkstra.cpp:18:9: warning: unused variable 'i' [-Wunused-variable] 18 | int i, rem; | ^ Rdijkstra.cpp:18:12: warning: unused variable 'rem' [-Wunused-variable] 18 | int i, rem; | ^~~ Rdijkstra.cpp:21:18: warning: unused variable 'fi' [-Wunused-variable] 21 | FaceIterator fi; | ^~ Rdijkstra.cpp:71:18: warning: unused variable 'fi' [-Wunused-variable] 71 | FaceIterator fi; | ^~ 32 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rkdtree.cpp -o Rkdtree.o RgetEdge.cpp:43:41: warning: unused variable 'ei' [-Wunused-variable] 43 | std::vector< SimpleEdge >::iterator ei; | ^~ Rintersect.cpp:79:10: warning: unused variable 'dirOrig' [-Wunused-variable] 79 | Point3f dirOrig = dir; | ^~~~~~~ Risolated.cpp:92:6: warning: unused variable 'length' [-Wunused-variable] 92 | int length = CCV.size(); | ^~~~~~ Risolated.cpp:37:11: warning: unused variable 'TotalCC' [-Wunused-variable] 37 | int TotalCC=tri::Clean::ConnectedComponents(m, CCV); | ^~~~~~~ Risolated.cpp:19:18: warning: unused variable 'fi' [-Wunused-variable] 19 | FaceIterator fi; | ^~ In file included from Risoremesh.cpp:1: In file included from vcglib/vcg/complex/algorithms/clean.h:30: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Risoremesh.cpp:1: In file included from vcglib/vcg/complex/algorithms/clean.h:30: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Risoremesh.cpp:1: In file included from vcglib/vcg/complex/algorithms/clean.h:30: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Risoremesh.cpp:1: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Risoremesh.cpp:2: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Risoremesh.cpp:2: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Risoremesh.cpp:3: vcglib/vcg/complex/algorithms/create/resampler.h:179:12: warning: variable 'retIP' set but not used [-Wunused-but-set-variable] 179 | bool retIP; | ^ vcglib/vcg/complex/algorithms/create/resampler.h:269:11: warning: variable 'flippedTot' set but not used [-Wunused-but-set-variable] 269 | int flippedTot=0; | ^ vcglib/vcg/complex/algorithms/create/resampler.h:270:11: warning: variable 'flippedTimes' set but not used [-Wunused-but-set-variable] 270 | int flippedTimes=0; | ^ In file included from Risoremesh.cpp:8: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Risoremesh.cpp:8: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Risoremesh.cpp:8: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Risoremesh.cpp:8: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Risoremesh.cpp:8: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Risoremesh.cpp:8: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Risoremesh.cpp:8: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Risoremesh.cpp:9: In file included from vcglib/vcg/complex/algorithms/isotropic_remeshing.h:32: In file included from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28: vcglib/vcg/complex/algorithms/edge_collapse.h:225:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 225 | static int VtoE[3][3] = { -1, 0, 2, | ^~~~~~~~~~ | { } vcglib/vcg/complex/algorithms/edge_collapse.h:226:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 226 | 0, -1, 1, | ^~~~~~~~~ | { } vcglib/vcg/complex/algorithms/edge_collapse.h:227:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 227 | 2, 1, -1 }; | ^~~~~~~~~ | { } In file included from Risoremesh.cpp:9: vcglib/vcg/complex/algorithms/isotropic_remeshing.h:350:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 350 | if ((forceTag || !params.userSelectedCreases) && (testCreaseEdge(p, params.creaseAngleCosThr) /*&& areaCheck*/ /* && qualityCheck*/) || p.IsBorder()) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:350:59: note: place parentheses around the '&&' expression to silence this warning 350 | if ((forceTag || !params.userSelectedCreases) && (testCreaseEdge(p, params.creaseAngleCosThr) /*&& areaCheck*/ /* && qualityCheck*/) || p.IsBorder()) | ^ | ( ) vcglib/vcg/complex/algorithms/isotropic_remeshing.h:347:24: warning: unused variable 'qualityCheck' [-Wunused-variable] 347 | const bool qualityCheck = quality > 0.00000001 && qualityAdj > 0.00000001; | ^~~~~~~~~~~~ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:789:45: warning: suggest braces around initialization of subobject [-Wmissing-braces] 789 | static constexpr int Vmat[3][3] = { -1, 0, 2, | ^~~~~~~~~~ | { } vcglib/vcg/complex/algorithms/isotropic_remeshing.h:790:46: warning: suggest braces around initialization of subobject [-Wmissing-braces] 790 | 0, -1, 1, | ^~~~~~~~~ | { } vcglib/vcg/complex/algorithms/isotropic_remeshing.h:791:46: warning: suggest braces around initialization of subobject [-Wmissing-braces] 791 | 2, 1, -1}; | ^~~~~~~~~ | { } vcglib/vcg/complex/algorithms/isotropic_remeshing.h:971:13: warning: variable 'candidates' set but not used [-Wunused-but-set-variable] 971 | int candidates = 0; | ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:1089:9: warning: address of array 'crease' will always evaluate to 'true' [-Wpointer-bool-conversion] 1089 | return(crease); | ~~~~~~ ^~~~~~ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:1098:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 1098 | int count = 0; | ^ In file included from Risoremesh.cpp:11: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ 32 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RkdtreeXptr.cpp -o RkdtreeXptr.o 36 warnings generated. In file included from Rkdtree.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ 33 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rkmeans.cpp -o Rkmeans.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rmarch.cpp -o Rmarch.o In file included from Rkdtree.cpp:3: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ 33 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rmeshres.cpp -o Rmeshres.o In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ 35 warnings generated. In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ 32 warnings generated. In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from RkdtreeXptr.cpp:3: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rkmeans.cpp:1: In file included from ./pointcloud.h:1: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rkmeans.cpp:1: In file included from ./pointcloud.h:1: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rkmeans.cpp:1: In file included from ./pointcloud.h:1: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rkmeans.cpp:2: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ Risoremesh.cpp:35:9: warning: unused variable 'checkit' [-Wunused-variable] 35 | int checkit = Rvcg::IOMesh::RvcgReadR(baseMesh,vb_,it_); | ^~~~~~~ In file included from Rkmeans.cpp:2: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rkmeans.cpp:2: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rkmeans.cpp:2: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rkmeans.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rkmeans.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rkmeans.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rkmeans.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Rkmeans.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rkmeans.cpp:2: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Rmarch.cpp:5: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from Rkmeans.cpp:3: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Risoremesh.cpp:9: vcglib/vcg/complex/algorithms/isotropic_remeshing.h:184:26: warning: unused variable 'f1' [-Wunused-variable] 184 | auto f1 = f.cFFp(longestIdx); | ^~ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:249:9: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::removeColinearFaces' requested here 249 | removeColinearFaces(m, params); | ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:281:13: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::cleanMesh' requested here 281 | cleanMesh(toRemesh, params); | ^ Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::Do' requested here 80 | tri::IsotropicRemeshing::Do(baseMesh, toProjectCopy, params); | ^ In file included from Risoremesh.cpp:9: vcglib/vcg/complex/algorithms/isotropic_remeshing.h:197:36: warning: unused variable 'n1' [-Wunused-variable] 197 | const auto n1 = vcg::TriangleNormal(t1); | ^~ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:198:36: warning: unused variable 'n2' [-Wunused-variable] 198 | const auto n2 = vcg::TriangleNormal(t2); | ^~ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:199:36: warning: unused variable 'n3' [-Wunused-variable] 199 | const auto n3 = vcg::TriangleNormal(t3); | ^~ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:200:36: warning: unused variable 'n4' [-Wunused-variable] 200 | const auto n4 = vcg::TriangleNormal(t4); | ^~ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:800:17: warning: unused variable 'pi' [-Wunused-variable] 800 | PosType pi = p; | ^~ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:901:32: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::checkCanMoveOnCollapse' requested here 901 | const bool moveable0 = checkCanMoveOnCollapse(p0, ff0, vi0, params) && !p0.V()->IsS(); | ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:930:20: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::checkCollapseFacesAroundVert1' requested here 930 | return checkCollapseFacesAroundVert1(p, pair, mp, params, relaxed); | ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:998:28: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::testCollapse1' requested here 998 | if(testCollapse1(pi, bp, mp, minQ, maxQ, params) && Collapser::LinkConditions(bp)) | ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:309:17: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::CollapseShortEdges' requested here 309 | CollapseShortEdges(toRemesh, params); | ^ Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::Do' requested here 80 | tri::IsotropicRemeshing::Do(baseMesh, toProjectCopy, params); | ^ In file included from Risoremesh.cpp:9: vcglib/vcg/complex/algorithms/isotropic_remeshing.h:789:45: warning: suggest braces around initialization of subobject [-Wmissing-braces] 789 | static constexpr int Vmat[3][3] = { -1, 0, 2, | ^~~~~~~~~~ | { } vcglib/vcg/complex/algorithms/isotropic_remeshing.h:810:39: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::VtoE' requested here 810 | if (faces[i]->IsFaceEdgeS(VtoE(vIdxes[i], (vIdxes[i]+1)%3)) && !vcg::tri::IsMarked(*params.m, faces[i]->cV1(vIdxes[i]))) | ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:901:32: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::checkCanMoveOnCollapse' requested here 901 | const bool moveable0 = checkCanMoveOnCollapse(p0, ff0, vi0, params) && !p0.V()->IsS(); | ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:930:20: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::checkCollapseFacesAroundVert1' requested here 930 | return checkCollapseFacesAroundVert1(p, pair, mp, params, relaxed); | ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:998:28: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::testCollapse1' requested here 998 | if(testCollapse1(pi, bp, mp, minQ, maxQ, params) && Collapser::LinkConditions(bp)) | ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:309:17: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::CollapseShortEdges' requested here 309 | CollapseShortEdges(toRemesh, params); | ^ Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::Do' requested here 80 | tri::IsotropicRemeshing::Do(baseMesh, toProjectCopy, params); | ^ In file included from Risoremesh.cpp:9: vcglib/vcg/complex/algorithms/isotropic_remeshing.h:790:46: warning: suggest braces around initialization of subobject [-Wmissing-braces] 790 | 0, -1, 1, | ^~~~~~~~~ | { } vcglib/vcg/complex/algorithms/isotropic_remeshing.h:791:46: warning: suggest braces around initialization of subobject [-Wmissing-braces] 791 | 2, 1, -1}; | ^~~~~~~~~ | { } In file included from Rmeshres.cpp:2: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from Risoremesh.cpp:9: In file included from vcglib/vcg/complex/algorithms/isotropic_remeshing.h:32: In file included from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28: vcglib/vcg/complex/algorithms/edge_collapse.h:225:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 225 | static int VtoE[3][3] = { -1, 0, 2, | ^~~~~~~~~~ | { } vcglib/vcg/complex/algorithms/isotropic_remeshing.h:1000:40: note: in instantiation of member function 'vcg::tri::EdgeCollapser>::Do' requested here 1000 | Collapser::Do(m, bp, mp, true); | ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:309:17: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::CollapseShortEdges' requested here 309 | CollapseShortEdges(toRemesh, params); | ^ Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::Do' requested here 80 | tri::IsotropicRemeshing::Do(baseMesh, toProjectCopy, params); | ^ In file included from Risoremesh.cpp:9: In file included from vcglib/vcg/complex/algorithms/isotropic_remeshing.h:32: In file included from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28: vcglib/vcg/complex/algorithms/edge_collapse.h:226:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 226 | 0, -1, 1, | ^~~~~~~~~ | { } vcglib/vcg/complex/algorithms/edge_collapse.h:227:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 227 | 2, 1, -1 }; | ^~~~~~~~~ | { } Rkdtree.cpp:49:9: warning: variable 'checkit' set but not used [-Wunused-but-set-variable] 49 | int checkit = Rvcg::IOMesh::mesh3d2Rvcg(target,target_); | ^ Rkdtree.cpp:83:9: warning: unused variable 'checkit' [-Wunused-variable] 83 | int checkit = Rvcg::IOMesh::mesh3d2Rvcg(m,mesh_); | ^~~~~~~ vcglib/vcg/complex/algorithms/edge_collapse.h:276:23: warning: unused variable 'f' [-Wunused-variable] 276 | FaceType & f = *((*i).f); | ^ vcglib/vcg/complex/algorithms/edge_collapse.h:305:27: warning: unused variable 'f' [-Wunused-variable] 305 | FaceType & f = *((*i).f); | ^ In file included from Risoremesh.cpp:9: vcglib/vcg/complex/algorithms/isotropic_remeshing.h:673:33: warning: unused variable 'foldCheckRad' [-Wunused-variable] 673 | const static ScalarType foldCheckRad = math::ToRad(5.); | ^~~~~~~~~~~~ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:314:17: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::ImproveValence' requested here 314 | ImproveValence(toRemesh, params); | ^ Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::Do' requested here 80 | tri::IsotropicRemeshing::Do(baseMesh, toProjectCopy, params); | ^ Rkdtree.cpp:19:34: warning: unused typedef 'mypair' [-Wunused-local-typedef] 19 | typedef std::pair mypair; | ^ Rkmeans.cpp:80:11: warning: unused variable 'neighbours' [-Wunused-variable] 80 | int neighbours = queue.getNofElements(); | ^~~~~~~~~~ In file included from Rmarch.cpp:17: vcglib/vcg/complex/algorithms/create/marching_cubes.h:421:17: warning: variable 'A' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 421 | default : assert(false); // Invalid face code | ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:148:29: note: in instantiation of member function 'vcg::tri::MarchingCubes>>::TestFace' requested here 148 | if( TestFace( MCLookUpTable::Test3(_config)) ) | ^ vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:203:23: note: in instantiation of member function 'vcg::tri::MarchingCubes>>::ProcessCell' requested here 203 | extractor.ProcessCell(p1, p2); | ^ Rmarch.cpp:69:8: note: in instantiation of function template specialization 'vcg::tri::TrivialWalker>::BuildMesh>>>' requested here 69 | walker.BuildMesh(m, volume, mc, thresh); | ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:31: note: uninitialized use occurs here 424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs | ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:29: note: initialize the variable 'A' to silence this warning 411 | ScalarType A,B,C,D ; | ^ | = 0.0 vcglib/vcg/complex/algorithms/create/marching_cubes.h:421:17: warning: variable 'C' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 421 | default : assert(false); // Invalid face code | ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:39: note: uninitialized use occurs here 424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs | ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:33: note: initialize the variable 'C' to silence this warning 411 | ScalarType A,B,C,D ; | ^ | = 0.0 vcglib/vcg/complex/algorithms/create/marching_cubes.h:421:17: warning: variable 'B' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 421 | default : assert(false); // Invalid face code | ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:43: note: uninitialized use occurs here 424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs | ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:31: note: initialize the variable 'B' to silence this warning 411 | ScalarType A,B,C,D ; | ^ | = 0.0 vcglib/vcg/complex/algorithms/create/marching_cubes.h:421:17: warning: variable 'D' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 421 | default : assert(false); // Invalid face code | ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:45: note: uninitialized use occurs here 424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs | ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:35: note: initialize the variable 'D' to silence this warning 411 | ScalarType A,B,C,D ; | ^ | = 0.0 In file included from Rmarch.cpp:19: vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:227:18: warning: variable 'vidx' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] 227 | else if (p0.Z()!=p1.Z()) // punti allineati lungo l'asse Z | ^~~~~~~~~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:596:30: note: in instantiation of member function 'vcg::tri::TrivialWalker>::Exist' requested here 596 | if (_walker->Exist(_corners[0], _corners[1], v) ) | ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:191:36: note: in instantiation of member function 'vcg::tri::MarchingCubes>>::ComputeCVertex' requested here 191 | case 3 : { ComputeCVertex(v12); AddTriangles( MCLookUpTable::Tiling7_3(_config,0), 9, v12 ) ; break ; } | ^ vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:203:23: note: in instantiation of member function 'vcg::tri::MarchingCubes>>::ProcessCell' requested here 203 | extractor.ProcessCell(p1, p2); | ^ Rmarch.cpp:69:8: note: in instantiation of function template specialization 'vcg::tri::TrivialWalker>::BuildMesh>>>' requested here 69 | walker.BuildMesh(m, volume, mc, thresh); | ^ vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:14: note: uninitialized use occurs here 232 | v = (vidx!=-1)? &_mesh->vert[vidx] : NULL; | ^~~~ vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:227:14: note: remove the 'if' if its condition is always true 227 | else if (p0.Z()!=p1.Z()) // punti allineati lungo l'asse Z | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 228 | vidx = (p0.Y()==_current_slice)? _z_cs[pos] : _z_ns[pos]; | ~ 229 | else | ~~~~ 230 | assert(false); | ~~~~~~~~~~~~~ vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:17: note: initialize the variable 'vidx' to silence this warning 221 | int vidx; | ^ | = 0 Rmeshres.cpp:17:20: warning: unused variable 'vi' [-Wunused-variable] 17 | VertexIterator vi; | ^~ Rmeshres.cpp:18:18: warning: unused variable 'fi' [-Wunused-variable] 18 | FaceIterator fi; | ^~ Rmeshres.cpp:25:41: warning: unused variable 'ei' [-Wunused-variable] 25 | std::vector< SimpleEdge >::iterator ei; | ^~ 35 warnings generated. 33 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rmeshvol.cpp -o Rmeshvol.o 62 warnings generated. 32 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rmetro.cpp -o Rmetro.o 37 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c ROneRing.cpp -o ROneRing.o /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rplatonic.cpp -o Rplatonic.o 35 warnings generated. In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:11: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:11: In file included from vcglib/wrap/io_trimesh/import.h:68: In file included from vcglib/wrap/io_trimesh/import_ply.h:31: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: In file included from vcglib/vcg/complex/algorithms/refine.h:31: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:11: In file included from vcglib/wrap/io_trimesh/import.h:68: In file included from vcglib/wrap/io_trimesh/import_ply.h:31: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:11: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:11: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:11: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:11: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rmeshvol.cpp:7: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:12: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RQEdecim.cpp -o RQEdecim.o In file included from Rplatonic.cpp:2: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ In file included from ROneRing.cpp:3: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Rplatonic.cpp:3: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from RQEdecim.cpp:11: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from RQEdecim.cpp:11: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from RQEdecim.cpp:11: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from RQEdecim.cpp:13: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from RQEdecim.cpp:19: In file included from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:29: In file included from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28: vcglib/vcg/complex/algorithms/edge_collapse.h:225:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 225 | static int VtoE[3][3] = { -1, 0, 2, | ^~~~~~~~~~ | { } vcglib/vcg/complex/algorithms/edge_collapse.h:226:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 226 | 0, -1, 1, | ^~~~~~~~~ | { } vcglib/vcg/complex/algorithms/edge_collapse.h:227:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 227 | 2, 1, -1 }; | ^~~~~~~~~ | { } /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rsample.cpp -o Rsample.o Rmeshvol.cpp:17:9: warning: unused variable 'check' [-Wunused-variable] 17 | int check = Rvcg::IOMesh::mesh3d2Rvcg(m,mesh_); | ^~~~~ Rmeshvol.cpp:21:9: warning: unused variable 'numholes' [-Wunused-variable] 21 | int numholes, BEdges = 0; | ^~~~~~~~ Rmeshvol.cpp:21:19: warning: unused variable 'BEdges' [-Wunused-variable] 21 | int numholes, BEdges = 0; | ^~~~~~ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:15: ./metroSampling.h:342:29: warning: unused variable 'cnt' [-Wunused-variable] 342 | int cnt=0; | ^~~ Rmetro.cpp:190:14: warning: unused variable 'lbi' [-Wunused-variable] 190 | double lbi = fwdhist.BinLowerBound(i); | ^~~ Rmetro.cpp:191:14: warning: unused variable 'hi' [-Wunused-variable] 191 | double hi = fwdhist.BinCountInd(i)/fwdcnt; | ^~ Rmetro.cpp:200:14: warning: unused variable 'lbi' [-Wunused-variable] 200 | double lbi = bckhist.BinLowerBound(i); | ^~~ Rmetro.cpp:201:14: warning: unused variable 'hi' [-Wunused-variable] 201 | double hi = bckhist.BinCountInd(i)/bckcnt; | ^~ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:15: ./metroSampling.h:186:37: warning: unused variable 'vi' [-Wunused-variable] 186 | FaceIterator fi; VertexIterator vi; int i; | ^~ Rmetro.cpp:105:26: note: in instantiation of member function 'vcg::Sampling::Sampling' requested here 105 | Sampling ForwardSampling(m0,m1); | ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:15: ./metroSampling.h:277:51: warning: unused variable 'vif' [-Wunused-variable] 277 | typename std::vector::iterator vif; | ^~~ ./metroSampling.h:583:7: note: in instantiation of member function 'vcg::Sampling::VertexSampling' requested here 583 | VertexSampling(); | ^ Rmetro.cpp:129:21: note: in instantiation of member function 'vcg::Sampling::Hausdorff' requested here 129 | ForwardSampling.Hausdorff(); | ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ Rplatonic.cpp:140:9: warning: unused variable 'a' [-Wunused-variable] 140 | int a = Rvcg::IOMesh::mesh3d2Rvcg(mesh,mesh_); | ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:15: ./metroSampling.h:563:55: warning: unused typedef 'FaceVecIterator' [-Wunused-local-typedef] 563 | typedef typename std::vector::iterator FaceVecIterator; | ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ 35 warnings generated. In file included from Rsample.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Rsample.cpp:2: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ 32 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rsmooth.cpp -o Rsmooth.o RQEdecim.cpp:97:9: warning: unused variable 'i' [-Wunused-variable] 97 | int i; | ^ RQEdecim.cpp:99:20: warning: unused variable 'vi' [-Wunused-variable] 99 | VertexIterator vi; | ^~ RQEdecim.cpp:100:18: warning: unused variable 'fi' [-Wunused-variable] 100 | FaceIterator fi; | ^~ In file included from RQEdecim.cpp:19: In file included from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:29: In file included from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28: vcglib/vcg/complex/algorithms/edge_collapse.h:225:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 225 | static int VtoE[3][3] = { -1, 0, 2, | ^~~~~~~~~~ | { } vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:129:44: note: in instantiation of member function 'vcg::tri::EdgeCollapser>::Do' requested here 129 | EdgeCollapser::Do(m, pos, MidPoint); | ^ vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:92:10: note: in instantiation of member function 'vcg::tri::TriEdgeCollapse, CTriEdgeCollapse>::Execute' requested here 92 | inline TriEdgeCollapse() | ^ vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:141:10: note: in instantiation of member function 'vcg::tri::TriEdgeCollapse, CTriEdgeCollapse>::TriEdgeCollapse' requested here 141 | inline TriEdgeCollapseQuadric(const VertexPair &p, int i, BaseParameterClass *pp) | ^ RQEdecim.cpp:81:82: note: in instantiation of member function 'vcg::tri::TriEdgeCollapseQuadric, CTriEdgeCollapse, vcg::tri::QInfoStandard>::TriEdgeCollapseQuadric' requested here 81 | inline CTriEdgeCollapse( const VertexPair &p, int i, BaseParameterClass *pp) :TECQ(p,i,pp){} | ^ In file included from RQEdecim.cpp:19: In file included from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:29: In file included from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28: vcglib/vcg/complex/algorithms/edge_collapse.h:226:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 226 | 0, -1, 1, | ^~~~~~~~~ | { } vcglib/vcg/complex/algorithms/edge_collapse.h:227:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 227 | 2, 1, -1 }; | ^~~~~~~~~ | { } vcglib/vcg/complex/algorithms/edge_collapse.h:276:23: warning: unused variable 'f' [-Wunused-variable] 276 | FaceType & f = *((*i).f); | ^ vcglib/vcg/complex/algorithms/edge_collapse.h:305:27: warning: unused variable 'f' [-Wunused-variable] 305 | FaceType & f = *((*i).f); | ^ 37 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Rsubdivision.cpp -o Rsubdivision.o In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Rsmooth.cpp:5: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ 33 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c Runiform_resample.cpp -o Runiform_resample.o Rsample.cpp:30:20: warning: unused variable 'vi' [-Wunused-variable] 30 | VertexIterator vi; | ^~ Rsample.cpp:31:18: warning: unused variable 'fi' [-Wunused-variable] 31 | FaceIterator fi; | ^~ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Rsubdivision.cpp:8: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from Runiform_resample.cpp:1: In file included from vcglib/vcg/complex/algorithms/clean.h:30: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Runiform_resample.cpp:1: In file included from vcglib/vcg/complex/algorithms/clean.h:30: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Runiform_resample.cpp:1: In file included from vcglib/vcg/complex/algorithms/clean.h:30: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Runiform_resample.cpp:1: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from Runiform_resample.cpp:2: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from Runiform_resample.cpp:2: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from Runiform_resample.cpp:3: vcglib/vcg/complex/algorithms/create/resampler.h:179:12: warning: variable 'retIP' set but not used [-Wunused-but-set-variable] 179 | bool retIP; | ^ vcglib/vcg/complex/algorithms/create/resampler.h:269:11: warning: variable 'flippedTot' set but not used [-Wunused-but-set-variable] 269 | int flippedTot=0; | ^ vcglib/vcg/complex/algorithms/create/resampler.h:270:11: warning: variable 'flippedTimes' set but not used [-Wunused-but-set-variable] 270 | int flippedTimes=0; | ^ In file included from Runiform_resample.cpp:8: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from Runiform_resample.cpp:8: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from Runiform_resample.cpp:8: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from Runiform_resample.cpp:8: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from Runiform_resample.cpp:8: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from Runiform_resample.cpp:8: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from Runiform_resample.cpp:8: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from Runiform_resample.cpp:10: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ 34 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RupdateNormals.cpp -o RupdateNormals.o Rsubdivision.cpp:18:9: warning: unused variable 'i' [-Wunused-variable] 18 | int i; | ^ Rsubdivision.cpp:20:20: warning: unused variable 'vi' [-Wunused-variable] 20 | VertexIterator vi; | ^~ Rsubdivision.cpp:21:18: warning: unused variable 'fi' [-Wunused-variable] 21 | FaceIterator fi; | ^~ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:40: vcglib/vcg/complex/algorithms/refine_loop.h:579:40: warning: unused variable 'vi' [-Wunused-variable] 579 | typename MESH_TYPE::VertexIterator vi; | ^~ vcglib/vcg/complex/algorithms/refine_loop.h:546:10: note: in instantiation of function template specialization 'vcg::tri::RefineOddEvenE, vcg::tri::EvenPointLoop, vcg::tri::EdgeLen>' requested here 546 | return RefineOddEvenE(m, odd, even, ep, RefineSelected, cbOdd, cbEven); | ^ Rsubdivision.cpp:51:11: note: in instantiation of function template specialization 'vcg::tri::RefineOddEven, vcg::tri::EvenPointLoop>' requested here 51 | tri::RefineOddEven(m, tri::OddPointLoop(m), tri::EvenPointLoop(), threshold); | ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:40: vcglib/vcg/complex/algorithms/refine_loop.h:579:40: warning: unused variable 'vi' [-Wunused-variable] 579 | typename MESH_TYPE::VertexIterator vi; | ^~ vcglib/vcg/complex/algorithms/refine_loop.h:546:10: note: in instantiation of function template specialization 'vcg::tri::RefineOddEvenE, vcg::tri::RegularLoopWeight>, vcg::tri::EvenPointLoopGeneric, vcg::tri::RegularLoopWeight>, vcg::tri::EdgeLen>' requested here 546 | return RefineOddEvenE(m, odd, even, ep, RefineSelected, cbOdd, cbEven); | ^ Rsubdivision.cpp:54:11: note: in instantiation of function template specialization 'vcg::tri::RefineOddEven, vcg::tri::RegularLoopWeight>, vcg::tri::EvenPointLoopGeneric, vcg::tri::RegularLoopWeight>>' requested here 54 | tri::RefineOddEven(m, tri::OddPointLoopGeneric, RegularLoopWeight >(m), | ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:40: vcglib/vcg/complex/algorithms/refine_loop.h:579:40: warning: unused variable 'vi' [-Wunused-variable] 579 | typename MESH_TYPE::VertexIterator vi; | ^~ vcglib/vcg/complex/algorithms/refine_loop.h:546:10: note: in instantiation of function template specialization 'vcg::tri::RefineOddEvenE, vcg::tri::ContinuityLoopWeight>, vcg::tri::EvenPointLoopGeneric, vcg::tri::ContinuityLoopWeight>, vcg::tri::EdgeLen>' requested here 546 | return RefineOddEvenE(m, odd, even, ep, RefineSelected, cbOdd, cbEven); | ^ Rsubdivision.cpp:58:11: note: in instantiation of function template specialization 'vcg::tri::RefineOddEven, vcg::tri::ContinuityLoopWeight>, vcg::tri::EvenPointLoopGeneric, vcg::tri::ContinuityLoopWeight>>' requested here 58 | tri::RefineOddEven(m, tri::OddPointLoopGeneric, ContinuityLoopWeight >(m), | ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from RupdateNormals.cpp:2: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ Runiform_resample.cpp:26:7: warning: unused variable 'checkit' [-Wunused-variable] 26 | int checkit = Rvcg::IOMesh::RvcgReadR(baseMesh,vb_,it_); | ^~~~~~~ Runiform_resample.cpp:73:7: warning: unused variable 'j' [-Wunused-variable] 73 | int j = 0; | ^ 20 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RvcgXPTr.cpp -o RvcgXPTr.o 32 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/RcppArmadillo/include' -isystem /usr/local/clang18/include -I/usr/local/clang/include -fopenmp -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -c RVFadj.cpp -o RVFadj.o In file included from Runiform_resample.cpp:3: In file included from vcglib/vcg/complex/algorithms/create/resampler.h:29: vcglib/vcg/complex/algorithms/create/marching_cubes.h:421:17: warning: variable 'A' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 421 | default : assert(false); // Invalid face code | ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:148:29: note: in instantiation of member function 'vcg::tri::MarchingCubes::Walker>::TestFace' requested here 148 | if( TestFace( MCLookUpTable::Test3(_config)) ) | ^ vcglib/vcg/complex/algorithms/create/resampler.h:328:34: note: in instantiation of member function 'vcg::tri::MarchingCubes::Walker>::ProcessCell' requested here 328 | if(goodCell) extractor.ProcessCell(p1, p2); | ^ vcglib/vcg/complex/algorithms/create/resampler.h:355:9: note: in instantiation of function template specialization 'vcg::tri::Resampler::Walker::ProcessSlice::Walker>>' requested here 355 | ProcessSlice(extractor);//find cells where there is the isosurface and examine it | ^ vcglib/vcg/complex/algorithms/create/resampler.h:636:12: note: in instantiation of function template specialization 'vcg::tri::Resampler::Walker::BuildMesh::Walker>>' requested here 636 | walker.BuildMesh(old_mesh,new_mesh,mc,cb); | ^ Runiform_resample.cpp:43:34: note: in instantiation of member function 'vcg::tri::Resampler::Resample' requested here 43 | tri::Resampler::Resample(baseMesh, offsetMesh, volumeBox, volumeDim, voxelSize*3.5, offsetThr,discretizeFlag,multiSampleFlag,absDistFlag); | ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:31: note: uninitialized use occurs here 424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs | ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:29: note: initialize the variable 'A' to silence this warning 411 | ScalarType A,B,C,D ; | ^ | = 0.0 vcglib/vcg/complex/algorithms/create/marching_cubes.h:421:17: warning: variable 'C' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 421 | default : assert(false); // Invalid face code | ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:39: note: uninitialized use occurs here 424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs | ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:33: note: initialize the variable 'C' to silence this warning 411 | ScalarType A,B,C,D ; | ^ | = 0.0 vcglib/vcg/complex/algorithms/create/marching_cubes.h:421:17: warning: variable 'B' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 421 | default : assert(false); // Invalid face code | ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:43: note: uninitialized use occurs here 424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs | ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:31: note: initialize the variable 'B' to silence this warning 411 | ScalarType A,B,C,D ; | ^ | = 0.0 vcglib/vcg/complex/algorithms/create/marching_cubes.h:421:17: warning: variable 'D' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] 421 | default : assert(false); // Invalid face code | ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:45: note: uninitialized use occurs here 424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs | ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:35: note: initialize the variable 'D' to silence this warning 411 | ScalarType A,B,C,D ; | ^ | = 0.0 In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ 38 warnings generated. vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from RvcgXPTr.cpp:2: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:48: vcglib/vcg/complex/allocate.h:1025:7: warning: misleading indentation; statement is not part of the previous 'for' [-Wmisleading-indentation] 1025 | for(EdgeIterator ei=m.edge.begin();ei!=m.edge.end();++ei) | ^ vcglib/vcg/complex/allocate.h:1015:5: note: previous statement is here 1015 | for(TetraIterator ti = m.tetra.begin(); ti != m.tetra.end(); ++ti) | ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 197 | int cnt=0; | ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 260 | int cnt=0; | ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] 348 | int nf = 0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 406 | int ne = 0; // Numero di edge reali | ^ vcglib/vcg/complex/algorithms/update/topology.h:611:13: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 611 | int cnt =0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] 645 | int num=0; | ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 740 | int ne = 0; // Numero di edge reali | ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] 454 | int count_fd = 0; | ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 446 | int fca=0; | ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] 946 | char FFi0,FFi1,FFi2; | ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 1183 | int fca=0; | ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 1614 | bool in = false; | ^ 41 warnings generated. In file included from RVFadj.cpp:4: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 544 | int faceCnt=0; | ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end()); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 260 | int numTexCoords = 0; // stores the number of texture coordinates been read till now | ^ vcglib/wrap/io_trimesh/import_obj.h:264:9: warning: variable 'extraTriangles' set but not used [-Wunused-but-set-variable] 264 | int extraTriangles=0; | ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable 'myunsuedvar' [-Wunused-variable] 178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp); | ^~~~~~~~~~~ vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp); | ^ vcglib/wrap/io_trimesh/import_stl.h:280:13: warning: variable 'lineCnt' set but not used [-Wunused-but-set-variable] 280 | int lineCnt=0; | ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 236 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 241 | int n = 0; // vertex valency | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:242:7: warning: variable 'na' set but not used [-Wunused-but-set-variable] 242 | int na = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 272 | int guard = 0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 609 | int res = 0, guard=0; | ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 646 | int res = 0, guard=0; | ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 209 | unsigned int nVertices, nFaces, nEdges; | ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 729 | size_t read = 0; | ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] 877 | int ecnt=0; | ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] 641 | int fcnt=0; | ^ In file included from RVFadj.cpp:5: In file included from ./RvcgIO.h:3: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /data/gannet/ripley/R/test-clang/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] 140 | #define RcppExport extern "C" attribute_visible | ^ ./typedef.h:44:9: note: previous definition is here 44 | #define RcppExport extern "C" | ^ RupdateNormals.cpp:21:18: warning: unused variable 'fi' [-Wunused-variable] 21 | FaceIterator fi; | ^~ RVFadj.cpp:50:7: warning: unused variable 'i' [-Wunused-variable] 50 | int i; | ^ RVFadj.cpp:64:16: warning: unused variable 'fi' [-Wunused-variable] 64 | FaceIterator fi; | ^~ 33 warnings generated. 32 warnings generated. RVFadj.cpp:61:41: warning: unused typedef 'VFIterator' [-Wunused-local-typedef] 61 | typedef vcg::face::VFIterator VFIterator; | ^ 35 warnings generated. /usr/local/clang18/bin/clang++ -std=gnu++17 -shared -L/usr/local/clang/lib64 -L/usr/local/clang18/lib -L/usr/local/clang18/lib/x86_64-unknown-linux-gnu -L/usr/local/gcc13/lib64 -L/usr/local/lib64 -o Rvcg.so vcglib/wrap/ply/plylib.o checkListNames.o init.o RallRead.o Rarea.o Rballpivot.o Rborder.o Rclean.o Rclost.o Rcurvature.o Rdijkstra.o Rexport.o RgetEdge.o Rintersect.o Risolated.o Risoremesh.o Rkdtree.o RkdtreeXptr.o Rkmeans.o Rmarch.o Rmeshres.o Rmeshvol.o Rmetro.o ROneRing.o Rplatonic.o RQEdecim.o Rsample.o Rsmooth.o Rsubdivision.o Runiform_resample.o RupdateNormals.o RvcgXPTr.o RVFadj.o -fopenmp make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/Rvcg/src' make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/Rvcg/src' make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/Rvcg/src' installing to /data/gannet/ripley/R/packages/tests-clang/Rvcg.Rcheck/00LOCK-Rvcg/00new/Rvcg/libs ** R ** data ** 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 ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (Rvcg)