* installing *source* package ‘Rvcg’ ... ** package ‘Rvcg’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ using SDK: ‘MacOSX11.3.sdk’ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c vcglib/wrap/ply/plylib.cpp -o vcglib/wrap/ply/plylib.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c checkListNames.cpp -o checkListNames.o clang -arch x86_64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c init.c -o init.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RallRead.cpp -o RallRead.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rarea.cpp -o Rarea.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rballpivot.cpp -o Rballpivot.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rborder.cpp -o Rborder.o In file included from Rarea.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rballpivot.cpp:12: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rballpivot.cpp:12: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rballpivot.cpp:12: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rballpivot.cpp:12: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rballpivot.cpp:12: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: In file included from RallRead.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rballpivot.cpp:12: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rarea.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rballpivot.cpp:12: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rballpivot.cpp:12: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rballpivot.cpp:12: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RallRead.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rborder.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt=0; ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int count_fd = 0; ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int count_fd = 0; ^ 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] int fca=0; ^ 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] 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: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] bool in = false; ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rclean.cpp -o Rclean.o 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] int fca=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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] int fca=0; ^ 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] int faceCnt=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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] bool in = false; ^ 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] bool in = false; ^ 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] bool in = false; ^ 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] auto dummyreturn = std::unique(tmp.begin(),tmp.end()); ^ 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] int faceCnt=0; ^ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 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] int extraTriangles=0; ^ 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] int faceCnt=0; ^ 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] 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:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] size_t read = 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] 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] 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] int extraTriangles=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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=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] 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] 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] 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:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] unsigned int nVertices, nFaces, nEdges; ^ 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] size_t read = 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] 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] 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] 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] int lineCnt=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] 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: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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] int res = 0, guard=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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=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:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Rarea.cpp:2: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ In file included from RallRead.cpp:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ In file included from Rballpivot.cpp:102: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ Rballpivot.cpp:42:9: note: previous definition is here #define RcppExport extern "C" ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclean.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Rclean.cpp:2: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ 39 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -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:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclost.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rcurvature.cpp -o Rcurvature.o Rarea.cpp:14:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ RallRead.cpp:79:12: warning: unused variable 'tex' [-Wunused-variable] bool tex = false; ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rclost.cpp:3: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] int faceCnt=0; ^ Rclean.cpp:18:7: warning: unused variable 'i' [-Wunused-variable] int i, rem; ^ In file included from Rcurvature.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Rcurvature.cpp:2: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ 41 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rdijkstra.cpp -o Rdijkstra.o 40 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rexport.cpp -o Rexport.o In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rdijkstra.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rexport.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] 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] int extraTriangles=0; ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] int res = 0, guard=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ 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] int count_fd = 0; ^ In file included from Rdijkstra.cpp:2: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Rexport.cpp:10: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ Rdijkstra.cpp:18:9: warning: unused variable 'i' [-Wunused-variable] int i, rem; ^ Rdijkstra.cpp:18:12: warning: unused variable 'rem' [-Wunused-variable] int i, rem; ^ Rdijkstra.cpp:21:18: warning: unused variable 'fi' [-Wunused-variable] FaceIterator fi; ^ Rdijkstra.cpp:71:18: warning: unused variable 'fi' [-Wunused-variable] FaceIterator fi; ^ 41 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -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:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RgetEdge.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] int fca=0; ^ 40 warnings generated. 40 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rintersect.cpp -o Rintersect.o clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Risolated.cpp -o Risolated.o 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from RgetEdge.cpp:2: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Risolated.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int count_fd = 0; ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] int count_fd = 0; ^ 41 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Risoremesh.cpp -o Risoremesh.o 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.hIn 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ :1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] bool in = false; ^ 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] 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] int faceCnt=0; ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] 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] auto dummyreturn = std::unique(tmp.begin(),tmp.end()); ^ 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] 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] vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 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] int extraTriangles=0; ^ 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] 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] 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] 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] 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] 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:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] int res = 0, guard=0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] 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] size_t read = 0; ^ In file included from Rintersect.cpp:1: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ 44 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rkdtree.cpp -o Rkdtree.o In file included from Risolated.cpp:7: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ In file included from Rintersect.cpp:2: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rkdtree.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] bool retIP; ^ vcglib/vcg/complex/algorithms/create/resampler.h:269:11: warning: variable 'flippedTot' set but not used [-Wunused-but-set-variable] int flippedTot=0; ^ vcglib/vcg/complex/algorithms/create/resampler.h:270:11: warning: variable 'flippedTimes' set but not used [-Wunused-but-set-variable] int flippedTimes=0; ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ 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] int faceCnt=0; ^ 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] int count_fd = 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] 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] 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] int extraTriangles=0; ^ RgetEdge.cpp:43:41: warning: unused variable 'ei' [-Wunused-variable] std::vector< SimpleEdge >::iterator ei; ^ 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] bool in = false; ^ 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] 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] 0, -1, 1, ^~~~~~~~~ { } vcglib/vcg/complex/algorithms/edge_collapse.h:227:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2, 1, -1 }; ^~~~~~~~~ { } In file included from Risoremesh.cpp:9: vcglib/vcg/complex/algorithms/isotropic_remeshing.h:350:59: warning: '&&' within '||' [-Wlogical-op-parentheses] 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 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] 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] 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] 0, -1, 1, ^~~~~~~~~ { } vcglib/vcg/complex/algorithms/isotropic_remeshing.h:791:46: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2, 1, -1}; ^~~~~~~~~ { } vcglib/vcg/complex/algorithms/isotropic_remeshing.h:971:13: warning: variable 'candidates' set but not used [-Wunused-but-set-variable] 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] return(crease); ~~~~~~ ^~~~~~ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:1098:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] int count = 0; ^ 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] int faceCnt=0; ^ In file included from Risoremesh.cpp:11: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Rkdtree.cpp:3: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ Rintersect.cpp:79:10: warning: unused variable 'dirOrig' [-Wunused-variable] Point3f dirOrig = dir; ^ Rintersect.cpp:24:9: warning: unused variable 'threads' [-Wunused-variable] int threads = as(threads_); ^ Risolated.cpp:92:6: warning: unused variable 'length' [-Wunused-variable] int length = CCV.size(); ^ Risolated.cpp:37:11: warning: unused variable 'TotalCC' [-Wunused-variable] int TotalCC=tri::Clean::ConnectedComponents(m, CCV); ^ Risolated.cpp:19:18: warning: unused variable 'fi' [-Wunused-variable] FaceIterator fi; ^ 40 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RkdtreeXptr.cpp -o RkdtreeXptr.o Risoremesh.cpp:35:9: warning: unused variable 'checkit' [-Wunused-variable] int checkit = Rvcg::IOMesh::RvcgReadR(baseMesh,vb_,it_); ^ 41 warnings generated. Rkdtree.cpp:49:9: warning: variable 'checkit' set but not used [-Wunused-but-set-variable] int checkit = Rvcg::IOMesh::mesh3d2Rvcg(target,target_); ^ clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rkmeans.cpp -o Rkmeans.o Rkdtree.cpp:83:9: warning: unused variable 'checkit' [-Wunused-variable] int checkit = Rvcg::IOMesh::mesh3d2Rvcg(m,mesh_); ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RkdtreeXptr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Risoremesh.cpp:9: vcglib/vcg/complex/algorithms/isotropic_remeshing.h:184:26: warning: unused variable 'f1' [-Wunused-variable] auto f1 = f.cFFp(longestIdx); ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:249:9: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::removeColinearFaces' requested here removeColinearFaces(m, params); ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:281:13: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::cleanMesh' requested here cleanMesh(toRemesh, params); ^ Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::Do' requested here tri::IsotropicRemeshing::Do(baseMesh, toProjectCopy, params); ^ In file included from Risoremesh.cpp:9: vcglib/vcg/complex/algorithms/isotropic_remeshing.h:197:36: warning: unused variable 'n1' [-Wunused-variable] const auto n1 = vcg::TriangleNormal(t1); ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:198:36: warning: unused variable 'n2' [-Wunused-variable] const auto n2 = vcg::TriangleNormal(t2); ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:199:36: warning: unused variable 'n3' [-Wunused-variable] const auto n3 = vcg::TriangleNormal(t3); ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:200:36: warning: unused variable 'n4' [-Wunused-variable] const auto n4 = vcg::TriangleNormal(t4); ^ In file included from Rkmeans.cpp:1: In file included from ./pointcloud.h:1: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ In file included from Rkmeans.cpp:1: In file included from ./pointcloud.h:1: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rkmeans.cpp:1: In file included from ./pointcloud.h:1: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rkmeans.cpp:1: In file included from ./pointcloud.h:1: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rkmeans.cpp:1: In file included from ./pointcloud.h:1: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:800:17: warning: unused variable 'pi' [-Wunused-variable] PosType pi = p; ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:901:32: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::checkCanMoveOnCollapse' requested here const bool moveable0 = checkCanMoveOnCollapse(p0, ff0, vi0, params) && !p0.V()->IsS(); ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:930:20: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::checkCollapseFacesAroundVert1' requested here return checkCollapseFacesAroundVert1(p, pair, mp, params, relaxed); ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:998:28: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::testCollapse1' requested here if(testCollapse1(pi, bp, mp, minQ, maxQ, params) && Collapser::LinkConditions(bp)) ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:309:17: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::CollapseShortEdges' requested here CollapseShortEdges(toRemesh, params); ^ Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::Do' requested here tri::IsotropicRemeshing::Do(baseMesh, toProjectCopy, params); ^ In file included from Risoremesh.cpp:9: vcglib/vcg/complex/algorithms/isotropic_remeshing.h:789:45: warning: suggest braces around initialization of subobject [-Wmissing-braces] static constexpr int Vmat[3][3] = { -1, 0, 2, ^~~~~~~~~~ { } vcglib/vcg/complex/algorithms/isotropic_remeshing.h:810:39: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::VtoE' requested here if (faces[i]->IsFaceEdgeS(VtoE(vIdxes[i], (vIdxes[i]+1)%3)) && !vcg::tri::IsMarked(*params.m, faces[i]->cV1(vIdxes[i]))) ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:901:32: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::checkCanMoveOnCollapse' requested here const bool moveable0 = checkCanMoveOnCollapse(p0, ff0, vi0, params) && !p0.V()->IsS(); ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:930:20: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::checkCollapseFacesAroundVert1' requested here return checkCollapseFacesAroundVert1(p, pair, mp, params, relaxed); ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:998:28: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::testCollapse1' requested here if(testCollapse1(pi, bp, mp, minQ, maxQ, params) && Collapser::LinkConditions(bp)) ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:309:17: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::CollapseShortEdges' requested here CollapseShortEdges(toRemesh, params); ^ Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::Do' requested here tri::IsotropicRemeshing::Do(baseMesh, toProjectCopy, params); ^ In file included from Risoremesh.cpp:9: vcglib/vcg/complex/algorithms/isotropic_remeshing.h:790:46: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, -1, 1, ^~~~~~~~~ { } vcglib/vcg/complex/algorithms/isotropic_remeshing.h:791:46: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2, 1, -1}; ^~~~~~~~~ { } 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] int count_fd = 0; ^ In file included from Rkmeans.cpp:1: In file included from ./pointcloud.h:1: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rkmeans.cpp:1: In file included from ./pointcloud.h:1: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] static int VtoE[3][3] = { -1, 0, 2, ^~~~~~~~~~ { } vcglib/vcg/complex/algorithms/isotropic_remeshing.h:1000:40: note: in instantiation of member function 'vcg::tri::EdgeCollapser>::Do' requested here Collapser::Do(m, bp, mp, true); ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:309:17: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::CollapseShortEdges' requested here CollapseShortEdges(toRemesh, params); ^ Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::Do' requested here tri::IsotropicRemeshing::Do(baseMesh, toProjectCopy, params); ^ In file included from Risoremesh.cpp:9: In file included from vcglib/vcg/complex/algorithms/isotropic_remeshing.h:32: In file included from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28: vcglib/vcg/complex/algorithms/edge_collapse.h:226:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 0, -1, 1, ^~~~~~~~~ { } vcglib/vcg/complex/algorithms/edge_collapse.h:227:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2, 1, -1 }; ^~~~~~~~~ { } In file included from Rkmeans.cpp:1: In file included from ./pointcloud.h:1: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ vcglib/vcg/complex/algorithms/edge_collapse.h:276:23: warning: unused variable 'f' [-Wunused-variable] FaceType & f = *((*i).f); ^ vcglib/vcg/complex/algorithms/edge_collapse.h:305:27: warning: unused variable 'f' [-Wunused-variable] FaceType & f = *((*i).f); ^ 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] int fca=0; ^ In file included from Risoremesh.cpp:9: vcglib/vcg/complex/algorithms/isotropic_remeshing.h:673:33: warning: unused variable 'foldCheckRad' [-Wunused-variable] const static ScalarType foldCheckRad = math::ToRad(5.); ^ vcglib/vcg/complex/algorithms/isotropic_remeshing.h:314:17: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::ImproveValence' requested here ImproveValence(toRemesh, params); ^ Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing::Do' requested here tri::IsotropicRemeshing::Do(baseMesh, toProjectCopy, params); ^ Rkdtree.cpp:19:34: warning: unused typedef 'mypair' [-Wunused-local-typedef] typedef std::pair mypair; ^ 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ In file included from RkdtreeXptr.cpp:3: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ 42 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rmarch.cpp -o Rmarch.o In file included from Rkmeans.cpp:3: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmarch.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ 43 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rmeshres.cpp -o Rmeshres.o 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Rmarch.cpp:5: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshres.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] int faceCnt=0; ^ Rkmeans.cpp:80:11: warning: unused variable 'neighbours' [-Wunused-variable] int neighbours = queue.getNofElements(); ^ 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Rmeshres.cpp:2: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ 43 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -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:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmeshvol.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Rmeshvol.cpp:7: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #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] default : assert(false); // Invalid face code ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:148:29: note: in instantiation of member function 'vcg::tri::MarchingCubes>>::TestFace' requested here if( TestFace( MCLookUpTable::Test3(_config)) ) ^ vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:203:23: note: in instantiation of member function 'vcg::tri::MarchingCubes>>::ProcessCell' requested here extractor.ProcessCell(p1, p2); ^ Rmarch.cpp:69:8: note: in instantiation of function template specialization 'vcg::tri::TrivialWalker>::BuildMesh>>>' requested here walker.BuildMesh(m, volume, mc, thresh); ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:31: note: uninitialized use occurs here 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 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] default : assert(false); // Invalid face code ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:39: note: uninitialized use occurs here 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 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] default : assert(false); // Invalid face code ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:43: note: uninitialized use occurs here 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 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] default : assert(false); // Invalid face code ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:45: note: uninitialized use occurs here 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 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] else if (p0.Z()!=p1.Z()) // punti allineati lungo l'asse Z ^~~~~~~~~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:596:30: note: in instantiation of member function 'vcg::tri::TrivialWalker>::Exist' requested here if (_walker->Exist(_corners[0], _corners[1], v) ) ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:191:36: note: in instantiation of member function 'vcg::tri::MarchingCubes>>::ComputeCVertex' requested here case 3 : { ComputeCVertex(v12); AddTriangles( MCLookUpTable::Tiling7_3(_config,0), 9, v12 ) ; break ; } ^ vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:203:23: note: in instantiation of member function 'vcg::tri::MarchingCubes>>::ProcessCell' requested here extractor.ProcessCell(p1, p2); ^ Rmarch.cpp:69:8: note: in instantiation of function template specialization 'vcg::tri::TrivialWalker>::BuildMesh>>>' requested here walker.BuildMesh(m, volume, mc, thresh); ^ vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:14: note: uninitialized use occurs here 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 else if (p0.Z()!=p1.Z()) // punti allineati lungo l'asse Z ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:17: note: initialize the variable 'vidx' to silence this warning int vidx; ^ = 0 Rmeshres.cpp:17:20: warning: unused variable 'vi' [-Wunused-variable] VertexIterator vi; ^ Rmeshres.cpp:18:18: warning: unused variable 'fi' [-Wunused-variable] FaceIterator fi; ^ Rmeshres.cpp:25:41: warning: unused variable 'ei' [-Wunused-variable] std::vector< SimpleEdge >::iterator ei; ^ 41 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rmetro.cpp -o Rmetro.o 70 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c ROneRing.cpp -o ROneRing.o In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 40 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rplatonic.cpp -o Rplatonic.o In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] auto dummyreturn = std::unique(tmp.begin(),tmp.end()); ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ vcglib/wrap/io_trimesh/import_obj.h:260:9: warning: variable 'numTexCoords' set but not used [-Wunused-but-set-variable] 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] int extraTriangles=0; ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int count_fd = 0; ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] int fca=0; ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] 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] 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] 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] int lineCnt=0; ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] unsigned int nVertices, nFaces, nEdges; ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] size_t read = 0; ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 45 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RQEdecim.cpp -o RQEdecim.o In file included from Rplatonic.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ Rmeshvol.cpp:17:9: warning: unused variable 'check' [-Wunused-variable] int check = Rvcg::IOMesh::mesh3d2Rvcg(m,mesh_); ^ Rmeshvol.cpp:21:9: warning: unused variable 'numholes' [-Wunused-variable] int numholes, BEdges = 0; ^ Rmeshvol.cpp:21:19: warning: unused variable 'BEdges' [-Wunused-variable] int numholes, BEdges = 0; ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] int fca=0; ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ In file included from ROneRing.cpp:2: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 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] int faceCnt=0; ^ In file included from Rplatonic.cpp:2: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] int count_fd = 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int res = 0, guard=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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] int fca=0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:646:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=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] 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] int faceCnt=0; ^ In file included from ROneRing.cpp:3: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ 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] 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] 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] int extraTriangles=0; ^ In file included from RQEdecim.cpp:11: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RQEdecim.cpp:11: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from RQEdecim.cpp:11: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RQEdecim.cpp:11: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RQEdecim.cpp:11: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RQEdecim.cpp:11: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RQEdecim.cpp:11: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 43 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rsample.cpp -o Rsample.o In file included from RQEdecim.cpp:11: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rplatonic.cpp:3: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ In file included from RQEdecim.cpp:11: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] 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] 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] 0, -1, 1, ^~~~~~~~~ { } vcglib/vcg/complex/algorithms/edge_collapse.h:227:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2, 1, -1 }; ^~~~~~~~~ { } In file included from Rsample.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsample.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Rsample.cpp:2: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:15: ./metroSampling.h:342:29: warning: unused variable 'cnt' [-Wunused-variable] int cnt=0; ^ Rmetro.cpp:190:14: warning: unused variable 'lbi' [-Wunused-variable] double lbi = fwdhist.BinLowerBound(i); ^ Rmetro.cpp:191:14: warning: unused variable 'hi' [-Wunused-variable] double hi = fwdhist.BinCountInd(i)/fwdcnt; ^ Rmetro.cpp:200:14: warning: unused variable 'lbi' [-Wunused-variable] double lbi = bckhist.BinLowerBound(i); ^ Rmetro.cpp:201:14: warning: unused variable 'hi' [-Wunused-variable] double hi = bckhist.BinCountInd(i)/bckcnt; ^ 43 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Rsmooth.cpp -o Rsmooth.o In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:15: ./metroSampling.h:186:37: warning: unused variable 'vi' [-Wunused-variable] FaceIterator fi; VertexIterator vi; int i; ^ Rmetro.cpp:105:26: note: in instantiation of member function 'vcg::Sampling::Sampling' requested here Sampling ForwardSampling(m0,m1); ^ In file included from Rmetro.cpp:2: In file included from ./typedefMetro.h:15: ./metroSampling.h:277:51: warning: unused variable 'vif' [-Wunused-variable] typename std::vector::iterator vif; ^ ./metroSampling.h:583:7: note: in instantiation of member function 'vcg::Sampling::VertexSampling' requested here VertexSampling(); ^ Rmetro.cpp:129:21: note: in instantiation of member function 'vcg::Sampling::Hausdorff' requested here 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] typedef typename std::vector::iterator FaceVecIterator; ^ Rplatonic.cpp:140:9: warning: unused variable 'a' [-Wunused-variable] int a = Rvcg::IOMesh::mesh3d2Rvcg(mesh,mesh_); ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ RQEdecim.cpp:97:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ RQEdecim.cpp:99:20: warning: unused variable 'vi' [-Wunused-variable] VertexIterator vi; ^ RQEdecim.cpp:100:18: warning: unused variable 'fi' [-Wunused-variable] FaceIterator fi; ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:50: vcglib/vcg/simplex/face/topology.h:197:9: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt=0; ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:58: vcglib/vcg/complex/algorithms/update/topology.h:348:7: warning: variable 'nf' set but not used [-Wunused-but-set-variable] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:16: In file included from vcglib/vcg/complex/algorithms/update/color.h:33: vcglib/vcg/complex/algorithms/clean.h:454:7: warning: variable 'count_fd' set but not used [-Wunused-but-set-variable] int count_fd = 0; ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45: In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28: vcglib/vcg/complex/algorithms/refine.h:446:9: warning: variable 'fca' set but not used [-Wunused-but-set-variable] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] int fca=0; ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:17: In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] bool in = false; ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:17: vcglib/vcg/complex/algorithms/update/curvature.h:544:9: warning: variable 'faceCnt' set but not used [-Wunused-but-set-variable] int faceCnt=0; ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:67: vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable] 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] 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] int extraTriangles=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] static int VtoE[3][3] = { -1, 0, 2, ^~~~~~~~~~ { } vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:129:44: note: in instantiation of member function 'vcg::tri::EdgeCollapser>::Do' requested here EdgeCollapser::Do(m, pos, MidPoint); ^ vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:92:10: note: in instantiation of member function 'vcg::tri::TriEdgeCollapse, CTriEdgeCollapse>::Execute' requested here inline TriEdgeCollapse() ^ vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:141:10: note: in instantiation of member function 'vcg::tri::TriEdgeCollapse, CTriEdgeCollapse>::TriEdgeCollapse' requested here inline TriEdgeCollapseQuadric(const VertexPair &p, int i, BaseParameterClass *pp) ^ RQEdecim.cpp:81:82: note: in instantiation of member function 'vcg::tri::TriEdgeCollapseQuadric, CTriEdgeCollapse, vcg::tri::QInfoStandard>::TriEdgeCollapseQuadric' requested here 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] 0, -1, 1, ^~~~~~~~~ { } vcglib/vcg/complex/algorithms/edge_collapse.h:227:33: warning: suggest braces around initialization of subobject [-Wmissing-braces] 2, 1, -1 }; ^~~~~~~~~ { } vcglib/vcg/complex/algorithms/edge_collapse.h:276:23: warning: unused variable 'f' [-Wunused-variable] FaceType & f = *((*i).f); ^ vcglib/vcg/complex/algorithms/edge_collapse.h:305:27: warning: unused variable 'f' [-Wunused-variable] FaceType & f = *((*i).f); ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 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] 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] 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] int lineCnt=0; ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: In file included from vcglib/wrap/io_trimesh/import_off.h:27: vcglib/vcg/complex/algorithms/bitquad_support.h:236:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] int res = 0, guard=0; ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:70: vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable] unsigned int nVertices, nFaces, nEdges; ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:33: In file included from vcglib/wrap/io_trimesh/import.h:71: vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable] size_t read = 0; ^ In file included from Rsmooth.cpp:4: In file included from ./typedef.h:35: In file included from vcglib/wrap/io_trimesh/export.h:52: vcglib/wrap/io_trimesh/export_ply.h:877:8: warning: variable 'ecnt' set but not used [-Wunused-but-set-variable] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Rsmooth.cpp:5: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ Rsample.cpp:30:20: warning: unused variable 'vi' [-Wunused-variable] VertexIterator vi; ^ Rsample.cpp:31:18: warning: unused variable 'fi' [-Wunused-variable] FaceIterator fi; ^ 40 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -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:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from Rsubdivision.cpp:6: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int count_fd = 0; ^ 45 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Runiform_resample.cpp -o Runiform_resample.o 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Rsubdivision.cpp:8: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ In file included from Runiform_resample.cpp:1: In file included from vcglib/vcg/complex/algorithms/clean.h:30: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] bool retIP; ^ vcglib/vcg/complex/algorithms/create/resampler.h:269:11: warning: variable 'flippedTot' set but not used [-Wunused-but-set-variable] int flippedTot=0; ^ vcglib/vcg/complex/algorithms/create/resampler.h:270:11: warning: variable 'flippedTimes' set but not used [-Wunused-but-set-variable] 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] int faceCnt=0; ^ 41 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RupdateNormals.cpp -o RupdateNormals.o 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] size_t read = 0; ^ 42 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RvcgXPTr.cpp -o RvcgXPTr.o 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from Runiform_resample.cpp:10: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RupdateNormals.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RvcgXPTr.cpp:1: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] int cnt=0; ^ 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] int count_fd = 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] int fca=0; ^ 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] 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: vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable] 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] int faceCnt=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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] int fca=0; ^ Rsubdivision.cpp:18:9: warning: unused variable 'i' [-Wunused-variable] int i; ^ Rsubdivision.cpp:20:20: warning: unused variable 'vi' [-Wunused-variable] VertexIterator vi; ^ Rsubdivision.cpp:21:18: warning: unused variable 'fi' [-Wunused-variable] FaceIterator fi; ^ 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] bool in = false; ^ 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] 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] 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] int extraTriangles=0; ^ 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] 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:69: vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from RupdateNormals.cpp:2: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ In file included from RvcgXPTr.cpp:2: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ 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] typename MESH_TYPE::VertexIterator vi; ^ vcglib/vcg/complex/algorithms/refine_loop.h:546:10: note: in instantiation of function template specialization 'vcg::tri::RefineOddEvenE, vcg::tri::EvenPointLoop, vcg::tri::EdgeLen>' requested here return RefineOddEvenE(m, odd, even, ep, RefineSelected, cbOdd, cbEven); ^ Rsubdivision.cpp:51:11: note: in instantiation of function template specialization 'vcg::tri::RefineOddEven, vcg::tri::EvenPointLoop>' requested here tri::RefineOddEven(m, tri::OddPointLoop(m), tri::EvenPointLoop(), 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] typename MESH_TYPE::VertexIterator vi; ^ vcglib/vcg/complex/algorithms/refine_loop.h:546:10: note: in instantiation of function template specialization 'vcg::tri::RefineOddEvenE, vcg::tri::RegularLoopWeight>, vcg::tri::EvenPointLoopGeneric, vcg::tri::RegularLoopWeight>, vcg::tri::EdgeLen>' requested here return RefineOddEvenE(m, odd, even, ep, RefineSelected, cbOdd, cbEven); ^ Rsubdivision.cpp:54:11: note: in instantiation of function template specialization 'vcg::tri::RefineOddEven, vcg::tri::RegularLoopWeight>, vcg::tri::EvenPointLoopGeneric, vcg::tri::RegularLoopWeight>>' requested here tri::RefineOddEven(m, tri::OddPointLoopGeneric, RegularLoopWeight >(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] typename MESH_TYPE::VertexIterator vi; ^ vcglib/vcg/complex/algorithms/refine_loop.h:546:10: note: in instantiation of function template specialization 'vcg::tri::RefineOddEvenE, vcg::tri::ContinuityLoopWeight>, vcg::tri::EvenPointLoopGeneric, vcg::tri::ContinuityLoopWeight>, vcg::tri::EdgeLen>' requested here return RefineOddEvenE(m, odd, even, ep, RefineSelected, cbOdd, cbEven); ^ Rsubdivision.cpp:58:11: note: in instantiation of function template specialization 'vcg::tri::RefineOddEven, vcg::tri::ContinuityLoopWeight>, vcg::tri::EvenPointLoopGeneric, vcg::tri::ContinuityLoopWeight>>' requested here tri::RefineOddEven(m, tri::OddPointLoopGeneric, ContinuityLoopWeight >(m), ^ Runiform_resample.cpp:26:7: warning: unused variable 'checkit' [-Wunused-variable] int checkit = Rvcg::IOMesh::RvcgReadR(baseMesh,vb_,it_); ^ Runiform_resample.cpp:73:7: warning: unused variable 'j' [-Wunused-variable] int j = 0; ^ 40 warnings generated. clang++ -arch x86_64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/x86_64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RVFadj.cpp -o RVFadj.o In file included from Runiform_resample.cpp:3: In file included from vcglib/vcg/complex/algorithms/create/resampler.h:29: vcglib/vcg/complex/algorithms/create/marching_cubes.h:421:17: warning: variable 'A' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized] default : assert(false); // Invalid face code ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:148:29: note: in instantiation of member function 'vcg::tri::MarchingCubes>::Walker>::TestFace' requested here if( TestFace( MCLookUpTable::Test3(_config)) ) ^ vcglib/vcg/complex/algorithms/create/resampler.h:328:34: note: in instantiation of member function 'vcg::tri::MarchingCubes>::Walker>::ProcessCell' requested here if(goodCell) extractor.ProcessCell(p1, p2); ^ vcglib/vcg/complex/algorithms/create/resampler.h:355:9: note: in instantiation of function template specialization 'vcg::tri::Resampler>::Walker::ProcessSlice>::Walker>>' requested here ProcessSlice(extractor);//find cells where there is the isosurface and examine it ^ vcglib/vcg/complex/algorithms/create/resampler.h:636:12: note: in instantiation of function template specialization 'vcg::tri::Resampler>::Walker::BuildMesh>::Walker>>' requested here walker.BuildMesh(old_mesh,new_mesh,mc,cb); ^ Runiform_resample.cpp:43:34: note: in instantiation of member function 'vcg::tri::Resampler>::Resample' requested here tri::Resampler::Resample(baseMesh, offsetMesh, volumeBox, volumeDim, voxelSize*3.5, offsetThr,discretizeFlag,multiSampleFlag,absDistFlag); ^ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:31: note: uninitialized use occurs here 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 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] default : assert(false); // Invalid face code ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:39: note: uninitialized use occurs here 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 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] default : assert(false); // Invalid face code ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:43: note: uninitialized use occurs here 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 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] default : assert(false); // Invalid face code ^~~~~~~ vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:45: note: uninitialized use occurs here 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 ScalarType A,B,C,D ; ^ = 0.0 In file included from RVFadj.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:34: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Core:540: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:26: In file included from vcglib/vcg/space/box3.h:27: In file included from vcglib/vcg/math/matrix44.h:35: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/LU:47: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:12: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Jacobi:29: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Cholesky:43: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:15: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Householder:27: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:11: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/QR:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:13: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/SVD:48: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:17: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Geometry:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ In file included from RVFadj.cpp:4: In file included from ./typedef.h:9: In file included from vcglib/vcg/complex/complex.h:46: In file included from vcglib/vcg/complex/used_types.h:31: In file included from vcglib/vcg/space/polygon3.h:28: In file included from vcglib/vcg/space/fitting3.h:33: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/Eigenvalues:58: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppEigen/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 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] int cnt=0; ^ vcglib/vcg/simplex/face/topology.h:260:6: warning: variable 'cnt' set but not used [-Wunused-but-set-variable] 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] int nf = 0; ^ vcglib/vcg/complex/algorithms/update/topology.h:406:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] 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] int cnt =0; ^ vcglib/vcg/complex/algorithms/update/topology.h:645:17: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num=0; ^ vcglib/vcg/complex/algorithms/update/topology.h:740:7: warning: variable 'ne' set but not used [-Wunused-but-set-variable] int ne = 0; // Numero di edge reali ^ RupdateNormals.cpp:21:18: warning: unused variable 'fi' [-Wunused-variable] FaceIterator fi; ^ 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] 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] int fca=0; ^ vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable] char FFi0,FFi1,FFi2; ^ vcglib/vcg/complex/algorithms/refine.h:1183:6: warning: variable 'fca' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] 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] 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] 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] 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] 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] 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] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:241:7: warning: variable 'n' set but not used [-Wunused-but-set-variable] 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] int na = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:272:7: warning: variable 'guard' set but not used [-Wunused-but-set-variable] int guard = 0; ^ vcglib/vcg/complex/algorithms/bitquad_support.h:609:16: warning: variable 'guard' set but not used [-Wunused-but-set-variable] 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] 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] 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] 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] int ecnt=0; ^ vcglib/wrap/io_trimesh/export_ply.h:641:7: warning: variable 'fcnt' set but not used [-Wunused-but-set-variable] int fcnt=0; ^ In file included from RVFadj.cpp:5: In file included from ./RvcgIO.h:3: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29: In file included from /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25: /Volumes/Builds/packages/big-sur-x86_64/Rlib/4.3/Rcpp/include/RcppCommon.h:140:9: warning: 'RcppExport' macro redefined [-Wmacro-redefined] #define RcppExport extern "C" attribute_visible ^ ./typedef.h:44:9: note: previous definition is here #define RcppExport extern "C" ^ 46 warnings generated. 40 warnings generated. 49 warnings generated. RVFadj.cpp:50:7: warning: unused variable 'i' [-Wunused-variable] int i; ^ RVFadj.cpp:64:16: warning: unused variable 'fi' [-Wunused-variable] FaceIterator fi; ^ RVFadj.cpp:61:41: warning: unused typedef 'VFIterator' [-Wunused-local-typedef] typedef vcg::face::VFIterator VFIterator; ^ 41 warnings generated. 28 warnings generated. 43 warnings generated. clang++ -arch x86_64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/x86_64/lib -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 -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation installing to /Volumes/Builds/packages/big-sur-x86_64/results/4.3/Rvcg.Rcheck/00LOCK-Rvcg/00new/Rvcg/libs ** generating debug symbols (dSYM) ** 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)