* installing *source* package ‘Rvcg’ ...
** package ‘Rvcg’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c vcglib/wrap/ply/plylib.cpp -o vcglib/wrap/ply/plylib.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c checkListNames.cpp -o checkListNames.o
clang -arch arm64 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c init.c -o init.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c RallRead.cpp -o RallRead.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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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 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());
                 ^
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);
         ^
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 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 RallRead.cpp:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
RallRead.cpp:79:12: warning: unused variable 'tex' [-Wunused-variable]
      bool tex = false;
           ^
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rarea.cpp -o Rarea.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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;
             ^
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 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);
         ^
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 Rarea.cpp:2:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
Rarea.cpp:14:9: warning: unused variable 'i' [-Wunused-variable]
    int i;
        ^
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rballpivot.cpp -o Rballpivot.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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 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());
                 ^
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);
         ^
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 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:102:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
9 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rborder.cpp -o Rborder.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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 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());
                 ^
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);
         ^
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 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;
                   ^
8 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rclean.cpp -o Rclean.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:2:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
Rclean.cpp:18:7: warning: unused variable 'i' [-Wunused-variable]
  int i, rem;
      ^
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/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: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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:3:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
9 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rcurvature.cpp -o Rcurvature.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:2:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
9 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rdijkstra.cpp -o Rdijkstra.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:2:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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;
                 ^
13 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rexport.cpp -o Rexport.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:10:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
9 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/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: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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:2:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
RgetEdge.cpp:43:41: warning: unused variable 'ei' [-Wunused-variable]
    std::vector< SimpleEdge >::iterator ei;
                                        ^
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rintersect.cpp -o Rintersect.o
In file included from Rintersect.cpp:1:
In file included from ./typedef.h:17:
In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30:
In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45:
In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28:
vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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 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 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);
         ^
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 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 Rintersect.cpp:2:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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<int>(threads_);
        ^
11 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Risolated.cpp -o Risolated.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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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 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());
                 ^
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);
         ^
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 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 Risolated.cpp:7:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
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<MyMesh>::ConnectedComponents(m, CCV);
          ^
Risolated.cpp:19:18: warning: unused variable 'fi' [-Wunused-variable]
    FaceIterator fi;
                 ^
12 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Risoremesh.cpp -o Risoremesh.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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;
          ^
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());
                 ^
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);
         ^
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: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:1089:9: warning: address of array 'crease' will always evaluate to 'true' [-Wpointer-bool-conversion]
        return(crease);
        ~~~~~~ ^~~~~~
In file included from Risoremesh.cpp:11:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
Risoremesh.cpp:35:9: warning: unused variable 'checkit' [-Wunused-variable]
    int checkit = Rvcg::IOMesh<MyMesh>::RvcgReadR(baseMesh,vb_,it_);
        ^
In file included from Risoremesh.cpp:9:
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:184:26: warning: unused variable 'f1' [-Wunused-variable]
                    auto f1 = f.cFFp(longestIdx);
                         ^
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:249:9: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::removeColinearFaces' requested here
        removeColinearFaces(m, params);
        ^
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:281:13: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::cleanMesh' requested here
            cleanMesh(toRemesh, params);
            ^
Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::Do' requested here
                tri::IsotropicRemeshing<MyMesh>::Do(baseMesh, toProjectCopy, params);
                                                 ^
In file included from Risoremesh.cpp:9:
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:197:36: warning: unused variable 'n1' [-Wunused-variable]
                        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);
                                   ^
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<MyMesh>::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<MyMesh>::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<MyMesh>::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<MyMesh>::CollapseShortEdges' requested here
                CollapseShortEdges(toRemesh, params);
                ^
Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::Do' requested here
                tri::IsotropicRemeshing<MyMesh>::Do(baseMesh, toProjectCopy, params);
                                                 ^
In file included from Risoremesh.cpp:9:
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:789:45: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        static constexpr int Vmat[3][3] = { -1,  0,  2,
                                            ^~~~~~~~~~
                                            {         }
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:810:39: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::VtoE' requested here
            if (faces[i]->IsFaceEdgeS(VtoE(vIdxes[i], (vIdxes[i]+1)%3)) && !vcg::tri::IsMarked(*params.m, faces[i]->cV1(vIdxes[i])))
                                      ^
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:901:32: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::checkCanMoveOnCollapse' requested here
        const bool moveable0 = checkCanMoveOnCollapse(p0, ff0, vi0, params) && !p0.V()->IsS();
                               ^
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:930:20: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::checkCollapseFacesAroundVert1' requested here
            return checkCollapseFacesAroundVert1(p, pair, mp, params, relaxed);
                   ^
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:998:28: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::testCollapse1' requested here
                        if(testCollapse1(pi, bp, mp, minQ, maxQ, params) && Collapser::LinkConditions(bp))
                           ^
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:309:17: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::CollapseShortEdges' requested here
                CollapseShortEdges(toRemesh, params);
                ^
Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::Do' requested here
                tri::IsotropicRemeshing<MyMesh>::Do(baseMesh, toProjectCopy, params);
                                                 ^
In file included from Risoremesh.cpp:9:
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:790:46: warning: suggest braces around initialization of subobject [-Wmissing-braces]
                                             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 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<MyMesh, vcg::tri::BasicVertexPair<MyVertex>>::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<MyMesh>::CollapseShortEdges' requested here
                CollapseShortEdges(toRemesh, params);
                ^
Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::Do' requested here
                tri::IsotropicRemeshing<MyMesh>::Do(baseMesh, toProjectCopy, params);
                                                 ^
In file included from Risoremesh.cpp:9:
In file included from vcglib/vcg/complex/algorithms/isotropic_remeshing.h:32:
In file included from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28:
vcglib/vcg/complex/algorithms/edge_collapse.h:226:33: warning: suggest braces around initialization of subobject [-Wmissing-braces]
                                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 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<MyMesh>::ImproveValence' requested here
                ImproveValence(toRemesh, params);
                ^
Risoremesh.cpp:80:36: note: in instantiation of member function 'vcg::tri::IsotropicRemeshing<MyMesh>::Do' requested here
                tri::IsotropicRemeshing<MyMesh>::Do(baseMesh, toProjectCopy, params);
                                                 ^
36 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rkdtree.cpp -o Rkdtree.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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 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());
                 ^
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);
         ^
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:3:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
Rkdtree.cpp:49:9: warning: variable 'checkit' set but not used [-Wunused-but-set-variable]
    int checkit = Rvcg::IOMesh<MyMesh>::mesh3d2Rvcg(target,target_);
        ^
Rkdtree.cpp:83:9: warning: unused variable 'checkit' [-Wunused-variable]
    int checkit = Rvcg::IOMesh<MyMesh>::mesh3d2Rvcg(m,mesh_);
        ^
Rkdtree.cpp:19:34: warning: unused typedef 'mypair' [-Wunused-local-typedef]
    typedef std::pair<float,int> mypair;
                                 ^
12 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c RkdtreeXptr.cpp -o RkdtreeXptr.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:3:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
9 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rkmeans.cpp -o Rkmeans.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:3:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
Rkmeans.cpp:80:11: warning: unused variable 'neighbours' [-Wunused-variable]
      int neighbours = queue.getNofElements();
          ^
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rmarch.cpp -o Rmarch.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:5:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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<MyMesh, vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>>::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<MyMesh, vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>>::ProcessCell' requested here
            extractor.ProcessCell(p1, p2);
                      ^
Rmarch.cpp:69:8: note: in instantiation of function template specialization 'vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>::BuildMesh<vcg::tri::MarchingCubes<MyMesh, vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>>>' requested here
walker.BuildMesh<MyMarchingCubes>(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<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>::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<MyMesh, vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>>::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<MyMesh, vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>>::ProcessCell' requested here
            extractor.ProcessCell(p1, p2);
                      ^
Rmarch.cpp:69:8: note: in instantiation of function template specialization 'vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>::BuildMesh<vcg::tri::MarchingCubes<MyMesh, vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel>>>>' requested here
walker.BuildMesh<MyMarchingCubes>(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
14 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rmeshres.cpp -o Rmeshres.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:2:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
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;
                                        ^
12 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/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: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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:7:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
Rmeshvol.cpp:17:9: warning: unused variable 'check' [-Wunused-variable]
    int check = Rvcg::IOMesh<MyMesh>::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;
                  ^
12 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rmetro.cpp -o Rmetro.o
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 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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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);
         ^
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 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 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;
             ^
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<CMeshMetro>::Sampling' requested here
    Sampling<CMeshMetro> ForwardSampling(m0,m1);
                         ^
In file included from Rmetro.cpp:2:
In file included from ./typedefMetro.h:15:
./metroSampling.h:277:51: warning: unused variable 'vif' [-Wunused-variable]
    typename std::vector<VertexPointer>::iterator vif;
                                                  ^
./metroSampling.h:583:7: note: in instantiation of member function 'vcg::Sampling<CMeshMetro>::VertexSampling' requested here
      VertexSampling();
      ^
Rmetro.cpp:129:21: note: in instantiation of member function 'vcg::Sampling<CMeshMetro>::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<FaceType>::iterator  FaceVecIterator;
                                                      ^
15 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c ROneRing.cpp -o ROneRing.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:3:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
9 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rplatonic.cpp -o Rplatonic.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:3:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
Rplatonic.cpp:140:9: warning: unused variable 'a' [-Wunused-variable]
    int a = Rvcg::IOMesh<MyMesh>::mesh3d2Rvcg(mesh,mesh_);
        ^
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c RQEdecim.cpp -o RQEdecim.o
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 };
                                ^~~~~~~~~
                                {        }
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 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<CMeshDec, vcg::tri::BasicVertexPair<CVertex>>::Do' requested here
    EdgeCollapser<TriMeshType,VertexPair>::Do(m, pos, MidPoint);
                                           ^
vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:92:10: note: in instantiation of member function 'vcg::tri::TriEdgeCollapse<CMeshDec, vcg::tri::BasicVertexPair<CVertex>, CTriEdgeCollapse>::Execute' requested here
  inline        TriEdgeCollapse()
                ^
vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:141:10: note: in instantiation of member function 'vcg::tri::TriEdgeCollapse<CMeshDec, vcg::tri::BasicVertexPair<CVertex>, CTriEdgeCollapse>::TriEdgeCollapse' requested here
  inline TriEdgeCollapseQuadric(const VertexPair &p, int i, BaseParameterClass *pp)
         ^
RQEdecim.cpp:81:82: note: in instantiation of member function 'vcg::tri::TriEdgeCollapseQuadric<CMeshDec, vcg::tri::BasicVertexPair<CVertex>, CTriEdgeCollapse, vcg::tri::QInfoStandard<CVertex>>::TriEdgeCollapseQuadric' requested here
  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);
                          ^
11 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rsample.cpp -o Rsample.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:2:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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;
                 ^
11 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Rsmooth.cpp -o Rsmooth.o
In file included from Rsmooth.cpp:5:
In file included from ./typedef.h:17:
In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30:
In file included from vcglib/vcg/complex/algorithms/point_sampling.h:45:
In file included from vcglib/vcg/complex/algorithms/create/platonic.h:28:
vcglib/vcg/complex/algorithms/refine.h:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
In file included from Rsmooth.cpp:5:
In file included from ./typedef.h:17:
In file included from vcglib/vcg/complex/algorithms/update/curvature.h:30:
vcglib/vcg/complex/algorithms/point_sampling.h:1614:14: warning: variable 'in' set but not used [-Wunused-but-set-variable]
        bool in = false;
             ^
In file included from Rsmooth.cpp:5:
In file included from ./typedef.h:33:
In file included from vcglib/wrap/io_trimesh/import.h:67:
vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: unused variable 'dummyreturn' [-Wunused-variable]
            auto dummyreturn = std::unique(tmp.begin(),tmp.end());
                 ^
In file included from Rsmooth.cpp:5:
In file included from ./typedef.h:33:
In file included from vcglib/wrap/io_trimesh/import.h:69:
vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable 'myunsuedvar' set but not used [-Wunused-but-set-variable]
   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);
         ^
In file included from Rsmooth.cpp:5:
In file included from ./typedef.h:33:
In file included from vcglib/wrap/io_trimesh/import.h:70:
vcglib/wrap/io_trimesh/import_off.h:209:38: warning: variable 'nEdges' set but not used [-Wunused-but-set-variable]
                                        unsigned int nVertices, nFaces, nEdges;
                                                                        ^
In file included from Rsmooth.cpp:5:
In file included from ./typedef.h:33:
In file included from vcglib/wrap/io_trimesh/import.h:71:
vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable 'read' set but not used [-Wunused-but-set-variable]
            size_t read = 0;
                   ^
In file included from Rsmooth.cpp:6:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
9 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/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: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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:8:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
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 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<MyMesh, vcg::tri::OddPointLoop<MyMesh>, vcg::tri::EvenPointLoop<MyMesh>, vcg::tri::EdgeLen<MyMesh, float>>' 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<MyMesh, vcg::tri::OddPointLoop<MyMesh>, vcg::tri::EvenPointLoop<MyMesh>>' requested here
            tri::RefineOddEven<MyMesh>(m, tri::OddPointLoop<MyMesh>(m), tri::EvenPointLoop<MyMesh>(), threshold);
                 ^
In file included from Rsubdivision.cpp:6:
In file included from ./typedef.h:40:
vcglib/vcg/complex/algorithms/refine_loop.h:579:40: warning: unused variable 'vi' [-Wunused-variable]
    typename MESH_TYPE::VertexIterator vi;
                                       ^
vcglib/vcg/complex/algorithms/refine_loop.h:546:10: note: in instantiation of function template specialization 'vcg::tri::RefineOddEvenE<MyMesh, vcg::tri::OddPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh, float>, vcg::tri::RegularLoopWeight<float>>, vcg::tri::EvenPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh, float>, vcg::tri::RegularLoopWeight<float>>, vcg::tri::EdgeLen<MyMesh, float>>' 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<MyMesh, vcg::tri::OddPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh, float>, vcg::tri::RegularLoopWeight<float>>, vcg::tri::EvenPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh, float>, vcg::tri::RegularLoopWeight<float>>>' requested here
            tri::RefineOddEven<MyMesh>(m, tri::OddPointLoopGeneric<MyMesh, Centroid<MyMesh>, RegularLoopWeight<MyMesh::ScalarType> >(m),
                 ^
In file included from Rsubdivision.cpp:6:
In file included from ./typedef.h:40:
vcglib/vcg/complex/algorithms/refine_loop.h:579:40: warning: unused variable 'vi' [-Wunused-variable]
    typename MESH_TYPE::VertexIterator vi;
                                       ^
vcglib/vcg/complex/algorithms/refine_loop.h:546:10: note: in instantiation of function template specialization 'vcg::tri::RefineOddEvenE<MyMesh, vcg::tri::OddPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh, float>, vcg::tri::ContinuityLoopWeight<float>>, vcg::tri::EvenPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh, float>, vcg::tri::ContinuityLoopWeight<float>>, vcg::tri::EdgeLen<MyMesh, float>>' 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<MyMesh, vcg::tri::OddPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh, float>, vcg::tri::ContinuityLoopWeight<float>>, vcg::tri::EvenPointLoopGeneric<MyMesh, vcg::tri::Centroid<MyMesh, float>, vcg::tri::ContinuityLoopWeight<float>>>' requested here
            tri::RefineOddEven<MyMesh>(m, tri::OddPointLoopGeneric<MyMesh, Centroid<MyMesh>, ContinuityLoopWeight<MyMesh::ScalarType> >(m),
                 ^
15 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c Runiform_resample.cpp -o Runiform_resample.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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;
          ^
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());
                 ^
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);
         ^
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;
                   ^
In file included from Runiform_resample.cpp:10:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
Runiform_resample.cpp:26:7: warning: unused variable 'checkit' [-Wunused-variable]
  int checkit = Rvcg::IOMesh<MyMesh>::RvcgReadR(baseMesh,vb_,it_);
      ^
Runiform_resample.cpp:73:7: warning: unused variable 'j' [-Wunused-variable]
  int j = 0;
      ^
In file included from Runiform_resample.cpp:3:
In file included from vcglib/vcg/complex/algorithms/create/resampler.h:29:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:421:17: warning: variable 'A' is used uninitialized whenever switch default is taken [-Wsometimes-uninitialized]
                default : assert(false); // Invalid face code
                ^~~~~~~
vcglib/vcg/complex/algorithms/create/marching_cubes.h:148:29: note: in instantiation of member function 'vcg::tri::MarchingCubes<MyMesh, vcg::tri::Resampler<MyMesh, MyMesh, vcg::face::PointDistanceBaseFunctor<float>>::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<MyMesh, vcg::tri::Resampler<MyMesh, MyMesh, vcg::face::PointDistanceBaseFunctor<float>>::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<MyMesh, MyMesh, vcg::face::PointDistanceBaseFunctor<float>>::Walker::ProcessSlice<vcg::tri::MarchingCubes<MyMesh, vcg::tri::Resampler<MyMesh, MyMesh, vcg::face::PointDistanceBaseFunctor<float>>::Walker>>' requested here
        ProcessSlice<EXTRACTOR_TYPE>(extractor);//find cells where there is the isosurface and examine it
        ^
vcglib/vcg/complex/algorithms/create/resampler.h:636:12: note: in instantiation of function template specialization 'vcg::tri::Resampler<MyMesh, MyMesh, vcg::face::PointDistanceBaseFunctor<float>>::Walker::BuildMesh<vcg::tri::MarchingCubes<MyMesh, vcg::tri::Resampler<MyMesh, MyMesh, vcg::face::PointDistanceBaseFunctor<float>>::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<MyMesh, MyMesh, vcg::face::PointDistanceBaseFunctor<float>>::Resample' requested here
  tri::Resampler<MyMesh,MyMesh>::Resample(baseMesh, offsetMesh, volumeBox, volumeDim, voxelSize*3.5, offsetThr,discretizeFlag,multiSampleFlag,absDistFlag);
                                 ^
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:31: note: uninitialized use occurs here
                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
17 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c RupdateNormals.cpp -o RupdateNormals.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:2:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
RupdateNormals.cpp:21:18: warning: unused variable 'fi' [-Wunused-variable]
    FaceIterator fi;
                 ^
10 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c RvcgXPTr.cpp -o RvcgXPTr.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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 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());
                 ^
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);
         ^
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:2:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
9 warnings generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -Ivcglib -I. -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppEigen/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2  -c RVFadj.cpp -o RVFadj.o
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:946:12: warning: variable 'FFi0' set but not used [-Wunused-but-set-variable]
      char FFi0,FFi1,FFi2;
           ^
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: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 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);
         ^
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:5:
In file included from ./RvcgIO.h:3:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo.h:29:
In file included from /Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25:
/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/Rcpp/include/RcppCommon.h:141: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"
        ^
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<MyFace> VFIterator;
                                        ^
12 warnings generated.
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/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-arm64/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)