* installing to library ‘/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages’
* installing *source* package ‘Rvcg’ ...
** this is package ‘Rvcg’ version ‘0.25’
** package ‘Rvcg’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Debian clang version 19.1.7 (7)’
using C++ compiler: ‘Debian clang version 19.1.7 (7)’
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpTACBbQ/R.INSTALL14bd09622628da/Rvcg/src'
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c vcglib/wrap/ply/plylib.cpp -o vcglib/wrap/ply/plylib.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c checkListNames.cpp -o checkListNames.o
clang-19 -std=gnu23 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c init.c -o init.o
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c RallRead.cpp -o RallRead.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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
RallRead.cpp:79:12: warning: unused variable 'tex' [-Wunused-variable]
79 | bool tex = false;
| ^~~
33 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rarea.cpp -o Rarea.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;
| ^
In file included from Rarea.cpp:2:
In file included from ./RvcgIO.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
Rarea.cpp:14:9: warning: unused variable 'i' [-Wunused-variable]
14 | int i;
| ^
33 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rballpivot.cpp -o Rballpivot.o
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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
Rballpivot.cpp:42:9: note: previous definition is here
42 | #define RcppExport extern "C"
| ^
32 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rborder.cpp -o Rborder.o
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;
| ^
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;
| ^
31 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rclean.cpp -o Rclean.o
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;
| ^
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;
| ^
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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
Rclean.cpp:18:7: warning: unused variable 'i' [-Wunused-variable]
18 | int i, rem;
| ^
33 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rclost.cpp -o Rclost.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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
32 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rcurvature.cpp -o Rcurvature.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;
| ^
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;
| ^
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;
| ^
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;
| ^
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;
| ^
In file included from Rcurvature.cpp:2:
In file included from ./RvcgIO.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
32 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rdijkstra.cpp -o Rdijkstra.o
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
| ^
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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
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;
| ^~
36 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rexport.cpp -o Rexport.o
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 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 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 Rexport.cpp:10:
In file included from ./RvcgIO.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
32 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c RgetEdge.cpp -o RgetEdge.o
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 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 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 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 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 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 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());
| ^~~~~~~~~~~
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: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 RgetEdge.cpp:2:
In file included from ./RvcgIO.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
RgetEdge.cpp:43:41: warning: unused variable 'ei' [-Wunused-variable]
43 | std::vector< SimpleEdge >::iterator ei;
| ^~
33 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rintersect.cpp -o Rintersect.o
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 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 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;
| ^
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: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: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: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 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 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 Rintersect.cpp:2:
In file included from ./RvcgIO.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
Rintersect.cpp:79:10: warning: unused variable 'dirOrig' [-Wunused-variable]
79 | Point3f dirOrig = dir;
| ^~~~~~~
33 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Risolated.cpp -o Risolated.o
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 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;
| ^
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 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;
| ^
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 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 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 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 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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
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<MyMesh>::ConnectedComponents(m, CCV);
| ^~~~~~~
Risolated.cpp:19:18: warning: unused variable 'fi' [-Wunused-variable]
19 | FaceIterator fi;
| ^~
35 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Risoremesh.cpp -o Risoremesh.o
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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
Risoremesh.cpp:35:9: warning: unused variable 'checkit' [-Wunused-variable]
35 | int checkit = Rvcg::IOMesh<MyMesh>::RvcgReadR(baseMesh,vb_,it_);
| ^~~~~~~
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<MyMesh>::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<MyMesh>::cleanMesh' requested here
281 | cleanMesh(toRemesh, params);
| ^
Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::Do' requested here
80 | tri::IsotropicRemeshing<MyMesh>::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);
| ^~
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<MyMesh>::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<MyMesh>::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<MyMesh>::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<MyMesh>::CollapseShortEdges' requested here
309 | CollapseShortEdges(toRemesh, params);
| ^
Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::Do' requested here
80 | tri::IsotropicRemeshing<MyMesh>::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<MyMesh>::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<MyMesh>::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<MyMesh>::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<MyMesh>::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<MyMesh>::CollapseShortEdges' requested here
309 | CollapseShortEdges(toRemesh, params);
| ^
Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::Do' requested here
80 | tri::IsotropicRemeshing<MyMesh>::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 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<MyMesh, vcg::tri::BasicVertexPair<MyVertex>>::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<MyMesh>::CollapseShortEdges' requested here
309 | CollapseShortEdges(toRemesh, params);
| ^
Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::Do' requested here
80 | tri::IsotropicRemeshing<MyMesh>::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 };
| ^~~~~~~~~
| { }
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<MyMesh>::ImproveValence' requested here
314 | ImproveValence(toRemesh, params);
| ^
Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::Do' requested here
80 | tri::IsotropicRemeshing<MyMesh>::Do(baseMesh, toProjectCopy, params);
| ^
62 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rkdtree.cpp -o Rkdtree.o
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;
| ^
In file included from Rkdtree.cpp:3:
In file included from ./RvcgIO.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
Rkdtree.cpp:49:9: warning: variable 'checkit' set but not used [-Wunused-but-set-variable]
49 | int checkit = Rvcg::IOMesh<MyMesh>::mesh3d2Rvcg(target,target_);
| ^
Rkdtree.cpp:83:9: warning: unused variable 'checkit' [-Wunused-variable]
83 | int checkit = Rvcg::IOMesh<MyMesh>::mesh3d2Rvcg(m,mesh_);
| ^~~~~~~
Rkdtree.cpp:19:34: warning: unused typedef 'mypair' [-Wunused-local-typedef]
19 | typedef std::pair<float,int> mypair;
| ^
35 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c RkdtreeXptr.cpp -o RkdtreeXptr.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;
| ^
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;
| ^
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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
32 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rkmeans.cpp -o Rkmeans.o
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 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 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 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 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 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 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 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 Rkmeans.cpp:3:
In file included from ./RvcgIO.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
Rkmeans.cpp:80:11: warning: unused variable 'neighbours' [-Wunused-variable]
80 | int neighbours = queue.getNofElements();
| ^~~~~~~~~~
33 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rmarch.cpp -o Rmarch.o
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 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 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;
| ^
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 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 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 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 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 Rmarch.cpp:5:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #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: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<MyMesh, vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>>::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<MyMesh, vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>>::ProcessCell' requested here
203 | extractor.ProcessCell(p1, p2);
| ^
Rmarch.cpp:69:8: note: in instantiation of function template specialization 'vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>::BuildMesh<vcg::tri::MarchingCubes<MyMesh, vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>>>' requested here
69 | walker.BuildMesh<MyMarchingCubes>(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<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>::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<MyMesh, vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>>::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<MyMesh, vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>>::ProcessCell' requested here
203 | extractor.ProcessCell(p1, p2);
| ^
Rmarch.cpp:69:8: note: in instantiation of function template specialization 'vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>::BuildMesh<vcg::tri::MarchingCubes<MyMesh, vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>>>' requested here
69 | walker.BuildMesh<MyMarchingCubes>(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
37 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rmeshres.cpp -o Rmeshres.o
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 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;
| ^
In file included from Rmeshres.cpp:2:
In file included from ./RvcgIO.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
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.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rmeshvol.cpp -o Rmeshvol.o
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 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 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 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 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;
| ^
In file included from Rmeshvol.cpp:7:
In file included from ./RvcgIO.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
Rmeshvol.cpp:17:9: warning: unused variable 'check' [-Wunused-variable]
17 | int check = Rvcg::IOMesh<MyMesh>::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;
| ^~~~~~
35 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rmetro.cpp -o Rmetro.o
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 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 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 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;
| ^
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 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 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<CMeshMetro>::Sampling' requested here
105 | Sampling<CMeshMetro> 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<VertexPointer>::iterator vif;
| ^~~
./metroSampling.h:583:7: note: in instantiation of member function 'vcg::Sampling<CMeshMetro>::VertexSampling' requested here
583 | VertexSampling();
| ^
Rmetro.cpp:129:21: note: in instantiation of member function 'vcg::Sampling<CMeshMetro>::Hausdorff' requested here
129 | ForwardSampling.Hausdorff();
| ^
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<FaceType>::iterator FaceVecIterator;
| ^
37 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c ROneRing.cpp -o ROneRing.o
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 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 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 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());
| ^~~~~~~~~~~
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;
| ^
In file included from ROneRing.cpp:3:
In file included from ./RvcgIO.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
32 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rplatonic.cpp -o Rplatonic.o
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 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 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 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;
| ^
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());
| ^~~~~~~~~~~
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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
Rplatonic.cpp:140:9: warning: unused variable 'a' [-Wunused-variable]
140 | int a = Rvcg::IOMesh<MyMesh>::mesh3d2Rvcg(mesh,mesh_);
| ^
33 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c RQEdecim.cpp -o RQEdecim.o
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 };
| ^~~~~~~~~
| { }
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<CMeshDec, vcg::tri::BasicVertexPair<CVertex>>::Do' requested here
129 | EdgeCollapser<TriMeshType,VertexPair>::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<CMeshDec, vcg::tri::BasicVertexPair<CVertex>, 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<CMeshDec, vcg::tri::BasicVertexPair<CVertex>, 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<CMeshDec, vcg::tri::BasicVertexPair<CVertex>, CTriEdgeCollapse, vcg::tri::QInfoStandard<CVertex>>::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);
| ^
20 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rsample.cpp -o Rsample.o
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
| ^
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 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;
| ^
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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
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;
| ^~
34 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rsmooth.cpp -o Rsmooth.o
In file included from Rsmooth.cpp:4:
In file included from vcglib/vcg/complex/algorithms/implicit_smooth.h:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseCore:61:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable]
273 | Index count = 0;
| ^
In file included from Rsmooth.cpp:4:
In file included from vcglib/vcg/complex/algorithms/implicit_smooth.h:26:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/Sparse:29:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/SparseLU:35:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable]
78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree
| ^
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable]
79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree
| ^
In file included from Rsmooth.cpp:4:
In file included from vcglib/vcg/complex/algorithms/implicit_smooth.h:27:
In file included from vcglib/vcg/complex/algorithms/mesh_to_matrix.h:26:
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 vcglib/vcg/complex/algorithms/implicit_smooth.h:27:
In file included from vcglib/vcg/complex/algorithms/mesh_to_matrix.h:26:
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 vcglib/vcg/complex/algorithms/implicit_smooth.h:27:
In file included from vcglib/vcg/complex/algorithms/mesh_to_matrix.h:26:
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:5:
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:5:
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:5:
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:5:
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:5:
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:5:
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:5:
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:5:
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:5:
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:5:
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:6:
In file included from ./RvcgIO.h:3:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
35 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Rsubdivision.cpp -o Rsubdivision.o
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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
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 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<MyMesh, vcg::tri::OddPointLoop<MyMesh>, vcg::tri::EvenPointLoop<MyMesh>, vcg::tri::EdgeLen<MyMesh, float>>' 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<MyMesh, vcg::tri::OddPointLoop<MyMesh>, vcg::tri::EvenPointLoop<MyMesh>>' requested here
51 | tri::RefineOddEven<MyMesh>(m, tri::OddPointLoop<MyMesh>(m), tri::EvenPointLoop<MyMesh>(), threshold);
| ^
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<MyMesh, vcg::tri::OddPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh>, vcg::tri::RegularLoopWeight<float>>, vcg::tri::EvenPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh>, vcg::tri::RegularLoopWeight<float>>, vcg::tri::EdgeLen<MyMesh, float>>' 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<MyMesh, vcg::tri::OddPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh>, vcg::tri::RegularLoopWeight<float>>, vcg::tri::EvenPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh>, vcg::tri::RegularLoopWeight<float>>>' requested here
54 | tri::RefineOddEven<MyMesh>(m, tri::OddPointLoopGeneric<MyMesh, Centroid<MyMesh>, RegularLoopWeight<MyMesh::ScalarType> >(m),
| ^
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<MyMesh, vcg::tri::OddPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh>, vcg::tri::ContinuityLoopWeight<float>>, vcg::tri::EvenPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh>, vcg::tri::ContinuityLoopWeight<float>>, vcg::tri::EdgeLen<MyMesh, float>>' 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<MyMesh, vcg::tri::OddPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh>, vcg::tri::ContinuityLoopWeight<float>>, vcg::tri::EvenPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh>, vcg::tri::ContinuityLoopWeight<float>>>' requested here
58 | tri::RefineOddEven<MyMesh>(m, tri::OddPointLoopGeneric<MyMesh, Centroid<MyMesh>, ContinuityLoopWeight<MyMesh::ScalarType> >(m),
| ^
38 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c Runiform_resample.cpp -o Runiform_resample.o
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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #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<MyMesh>::RvcgReadR(baseMesh,vb_,it_);
| ^~~~~~~
Runiform_resample.cpp:73:7: warning: unused variable 'j' [-Wunused-variable]
73 | int j = 0;
| ^
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<MyMesh, vcg::tri::Resampler<MyMesh, MyMesh>::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<MyMesh, vcg::tri::Resampler<MyMesh, MyMesh>::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<MyMesh, MyMesh>::Walker::ProcessSlice<vcg::tri::MarchingCubes<MyMesh, vcg::tri::Resampler<MyMesh, MyMesh>::Walker>>' requested here
355 | ProcessSlice<EXTRACTOR_TYPE>(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<MyMesh, MyMesh>::Walker::BuildMesh<vcg::tri::MarchingCubes<MyMesh, vcg::tri::Resampler<MyMesh, MyMesh>::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<MyMesh, MyMesh>::Resample' requested here
43 | tri::Resampler<MyMesh,MyMesh>::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
41 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c RupdateNormals.cpp -o RupdateNormals.o
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 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 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 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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #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;
| ^~
33 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c RvcgXPTr.cpp -o RvcgXPTr.o
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;
| ^
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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
32 warnings generated.
clang++-19 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-clang/Work/build/include" -DNDEBUG -Ivcglib -I. -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppEigen/include' -I'/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fopenmp -fpic -g -O3 -Wall -pedantic -Wno-missing-template-arg-list-after-template-kw -Wdeprecated-literal-operator -c RVFadj.cpp -o RVFadj.o
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;
| ^
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 /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo.h:32:
In file included from /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26:
/home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/Rcpp/include/RcppCommon.h:144:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined]
144 | #define RcppExport extern "C" attribute_visible
| ^
./typedef.h:44:9: note: previous definition is here
44 | #define RcppExport extern "C"
| ^
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;
| ^~
RVFadj.cpp:61:41: warning: unused typedef 'VFIterator' [-Wunused-local-typedef]
61 | typedef vcg::face::VFIterator<MyFace> VFIterator;
| ^
35 warnings generated.
clang++-19 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -Wl,-O1 -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 -L/home/hornik/tmp/R.check/r-devel-clang/Work/build/lib -lR
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpTACBbQ/R.INSTALL14bd09622628da/Rvcg/src'
make[1]: Entering directory '/home/hornik/tmp/scratch/RtmpTACBbQ/R.INSTALL14bd09622628da/Rvcg/src'
make[1]: Leaving directory '/home/hornik/tmp/scratch/RtmpTACBbQ/R.INSTALL14bd09622628da/Rvcg/src'
installing to /home/hornik/tmp/R.check/r-devel-clang/Work/build/Packages/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)