* installing *source* package ‘Rvcg’ ...
** this is package ‘Rvcg’ version ‘0.25’
** package ‘Rvcg’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/Rvcg/src'
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c vcglib/wrap/ply/plylib.cpp -o vcglib/wrap/ply/plylib.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c checkListNames.cpp -o checkListNames.o
gcc -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -Werror=implicit-function-declaration -Wstrict-prototypes -c init.c -o init.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RallRead.cpp -o RallRead.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RallRead.cpp:3:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from RallRead.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rarea.cpp -o Rarea.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rarea.cpp:2:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rarea.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rballpivot.cpp -o Rballpivot.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rballpivot.cpp:102:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
Rballpivot.cpp:42:9: note: this is the location of the previous definition
42 | #define RcppExport extern "C"
| ^~~~~~~~~~
RallRead.cpp: In function ‘SEXPREC* RallRead(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
RallRead.cpp:79:12: warning: unused variable ‘tex’ [-Wunused-variable]
79 | bool tex = false;
| ^~~
In file included from vcglib/wrap/io_trimesh/import.h:70,
from typedef.h:33:
vcglib/wrap/io_trimesh/import_off.h: In instantiation of ‘static int vcg::tri::io::ImporterOFF<MESH_TYPE>::OpenStream(MESH_TYPE&, std::istream&, int&, bool (*)(int, const char*)) [with MESH_TYPE = MyMesh; std::istream = std::basic_istream<char>; vcg::CallBackPos = bool(int, const char*)]’:
vcglib/wrap/io_trimesh/import_off.h:125:23: required from ‘static int vcg::tri::io::ImporterOFF<MESH_TYPE>::Open(MESH_TYPE&, const char*, int&, bool (*)(int, const char*)) [with MESH_TYPE = MyMesh; vcg::CallBackPos = bool(int, const char*)]’
125 | return OpenStream(mesh, stream, loadmask, cb);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
RallRead.cpp:68:48: required from here
68 | err2 = tri::io::ImporterOFF<MyMesh>::Open(m,filename,mask0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
vcglib/wrap/io_trimesh/import_off.h:209:73: warning: variable ‘nEdges’ set but not used [-Wunused-but-set-variable]
209 | unsigned int nVertices, nFaces, nEdges;
| ^~~~~~
In file included from vcglib/wrap/io_trimesh/import.h:69:
vcglib/wrap/io_trimesh/import_stl.h: In instantiation of ‘static bool vcg::tri::io::ImporterSTL<OpenMeshType>::IsSTLMalformed(const char*, bool&) [with OpenMeshType = MyMesh]’:
vcglib/wrap/io_trimesh/import_stl.h:203:21: required from ‘static int vcg::tri::io::ImporterSTL<OpenMeshType>::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = MyMesh; vcg::CallBackPos = bool(int, const char*)]’
203 | if(!IsSTLMalformed(filename,binaryFlag))
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
vcglib/wrap/io_trimesh/import.h:130:40: required from ‘static int vcg::tri::io::Importer<OpenMeshType>::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = MyMesh; vcg::CallBackPos = bool(int, const char*)]’
130 | err = ImporterSTL<OpenMeshType>::Open(m, filename, loadmask, cb);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
RallRead.cpp:66:45: required from here
66 | err2 = tri::io::Importer<MyMesh>::Open(m,filename,mask0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
vcglib/wrap/io_trimesh/import_stl.h:178:10: warning: unused variable ‘myunsuedvar’ [-Wunused-variable]
178 | size_t myunsuedvar = fread(tmpbuf, byte_to_read,1,fp);
| ^~~~~~~~~~~
vcglib/wrap/io_trimesh/import_stl.h: In instantiation of ‘static int vcg::tri::io::ImporterSTL<OpenMeshType>::OpenBinary(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = MyMesh; vcg::CallBackPos = bool(int, const char*)]’:
vcglib/wrap/io_trimesh/import_stl.h:206:35: required from ‘static int vcg::tri::io::ImporterSTL<OpenMeshType>::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = MyMesh; vcg::CallBackPos = bool(int, const char*)]’
206 | if(binaryFlag) return OpenBinary(m,filename,loadMask,cb);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
vcglib/wrap/io_trimesh/import.h:130:40: required from ‘static int vcg::tri::io::Importer<OpenMeshType>::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = MyMesh; vcg::CallBackPos = bool(int, const char*)]’
130 | err = ImporterSTL<OpenMeshType>::Open(m, filename, loadmask, cb);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
RallRead.cpp:66:45: required from here
66 | err2 = tri::io::Importer<MyMesh>::Open(m,filename,mask0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
vcglib/wrap/io_trimesh/import_stl.h:227:10: warning: variable ‘myunsuedvar’ set but not used [-Wunused-but-set-variable]
227 | size_t myunsuedvar = fread(&facenum, sizeof(int), 1, fp);
| ^~~~~~~~~~~
In file included from vcglib/wrap/io_trimesh/import.h:67:
vcglib/wrap/io_trimesh/import_obj.h: In instantiation of ‘static int vcg::tri::io::ImporterOBJ<OpenMeshType>::Open(OpenMeshType&, const char*, Info&) [with OpenMeshType = MyMesh]’:
vcglib/wrap/io_trimesh/import_obj.h:201:17: required from ‘static int vcg::tri::io::ImporterOBJ<OpenMeshType>::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = MyMesh; vcg::CallBackPos = bool(int, const char*)]’
201 | int ret=Open(mesh,filename,oi);
| ~~~~^~~~~~~~~~~~~~~~~~
vcglib/wrap/io_trimesh/import.h:140:40: required from ‘static int vcg::tri::io::Importer<OpenMeshType>::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = MyMesh; vcg::CallBackPos = bool(int, const char*)]’
140 | err = ImporterOBJ<OpenMeshType>::Open(m, filename, loadmask, cb);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
RallRead.cpp:66:45: required from here
66 | err2 = tri::io::Importer<MyMesh>::Open(m,filename,mask0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
vcglib/wrap/io_trimesh/import_obj.h:422:18: warning: variable ‘dummyreturn’ set but not used [-Wunused-but-set-variable]
422 | auto dummyreturn = std::unique(tmp.begin(),tmp.end());
| ^~~~~~~~~~~
In file included from vcglib/wrap/io_trimesh/import.h:71:
vcglib/wrap/io_trimesh/import_vmi.h: In instantiation of ‘static int vcg::tri::io::ImporterVMI<OpenMeshType, A0, A1, A2, A3, A4>::Deserialize(OpenMeshType&, int&) [with OpenMeshType = MyMesh; A0 = long int; A1 = double; A2 = int; A3 = short int; A4 = char]’:
vcglib/wrap/io_trimesh/import_vmi.h:673:34: required from ‘static int vcg::tri::io::ImporterVMI<OpenMeshType, A0, A1, A2, A3, A4>::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = MyMesh; A0 = long int; A1 = double; A2 = int; A3 = short int; A4 = char; vcg::CallBackPos = bool(int, const char*)]’
673 | int res = Deserialize(m,mask);
| ~~~~~~~~~~~^~~~~~~~
vcglib/wrap/io_trimesh/import.h:145:46: required from ‘static int vcg::tri::io::Importer<OpenMeshType>::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = MyMesh; vcg::CallBackPos = bool(int, const char*)]’
145 | err = ImporterVMI<OpenMeshType>::Open(m, filename, loadmask, cb);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
RallRead.cpp:66:45: required from here
66 | err2 = tri::io::Importer<MyMesh>::Open(m,filename,mask0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
vcglib/wrap/io_trimesh/import_vmi.h:729:20: warning: variable ‘read’ set but not used [-Wunused-but-set-variable]
729 | size_t read = 0;
| ^~~~
vcglib/wrap/io_trimesh/import_stl.h: In instantiation of ‘static bool vcg::tri::io::ImporterSTL<OpenMeshType>::IsSTLColored(const char*, bool&, bool&) [with OpenMeshType = MyMesh]’:
vcglib/wrap/io_trimesh/import_stl.h:220:19: required from ‘static int vcg::tri::io::ImporterSTL<OpenMeshType>::OpenBinary(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = MyMesh; vcg::CallBackPos = bool(int, const char*)]’
220 | if(!IsSTLColored(filename,coloredFlag, magicsMode))
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/wrap/io_trimesh/import_stl.h:206:35: required from ‘static int vcg::tri::io::ImporterSTL<OpenMeshType>::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = MyMesh; vcg::CallBackPos = bool(int, const char*)]’
206 | if(binaryFlag) return OpenBinary(m,filename,loadMask,cb);
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
vcglib/wrap/io_trimesh/import.h:130:40: required from ‘static int vcg::tri::io::Importer<OpenMeshType>::Open(OpenMeshType&, const char*, int&, bool (*)(int, const char*)) [with OpenMeshType = MyMesh; vcg::CallBackPos = bool(int, const char*)]’
130 | err = ImporterSTL<OpenMeshType>::Open(m, filename, loadmask, cb);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
RallRead.cpp:66:45: required from here
66 | err2 = tri::io::Importer<MyMesh>::Open(m,filename,mask0);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
vcglib/wrap/io_trimesh/import_stl.h:117:11: warning: variable ‘myunsuedvar’ set but not used [-Wunused-but-set-variable]
117 | size_t myunsuedvar = fread(buf,sizeof(char),STL_LABEL_SIZE,fp);
| ^~~~~~~~~~~
Rarea.cpp: In function ‘SEXPREC* Rarea(SEXP, SEXP)’:
Rarea.cpp:14:9: warning: unused variable ‘i’ [-Wunused-variable]
14 | int i;
| ^
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rborder.cpp -o Rborder.o
vcglib/wrap/io_trimesh/import_vmi.h: In static member function ‘static void vcg::tri::io::ImporterVMI<OpenMeshType, A0, A1, A2, A3, A4>::ReadString(std::string&) [with OpenMeshType = MyMesh; A0 = long int; A1 = double; A2 = int; A3 = short int; A4 = char]’:
vcglib/wrap/io_trimesh/import_vmi.h:250:36: warning: ‘l’ may be used uninitialized [-Wmaybe-uninitialized]
250 | char * buf = new char[l+1];
| ~^~
vcglib/wrap/io_trimesh/import_vmi.h:249:26: note: ‘l’ declared here
249 | unsigned int l; Read(&l,4,1);
| ^
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rclean.cpp -o Rclean.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rclean.cpp:2:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rclean.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rclost.cpp -o Rclost.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rclost.cpp:3:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rclost.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
Rclean.cpp: In function ‘SEXPREC* Rclean(SEXP, SEXP, SEXP, SEXP, SEXP)’:
Rclean.cpp:18:7: warning: unused variable ‘i’ [-Wunused-variable]
18 | int i, rem;
| ^
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rcurvature.cpp -o Rcurvature.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rcurvature.cpp:2:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rcurvature.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rdijkstra.cpp -o Rdijkstra.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rdijkstra.cpp:2:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rdijkstra.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rexport.cpp -o Rexport.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RgetEdge.cpp -o RgetEdge.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rexport.cpp:10:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rexport.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from RgetEdge.cpp:2:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from RgetEdge.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rintersect.cpp -o Rintersect.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Risolated.cpp -o Risolated.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rintersect.cpp:2:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rintersect.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Risolated.cpp:7:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Risolated.cpp:6:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
Rdijkstra.cpp: In function ‘SEXPREC* Rdijkstra(SEXP, SEXP, SEXP, SEXP)’:
Rdijkstra.cpp:18:9: warning: unused variable ‘i’ [-Wunused-variable]
18 | int i, rem;
| ^
Rdijkstra.cpp:18:12: warning: unused variable ‘rem’ [-Wunused-variable]
18 | int i, rem;
| ^~~
In file included from vcglib/vcg/complex/used_types.h:42,
from vcglib/vcg/complex/complex.h:46,
from typedef.h:9:
In member function ‘int vcg::FaceTypeHolder<UserTypes>::Next(const int&) const [with UserTypes = MyUsedTypes]’,
inlined from ‘vcg::face::Pos<FaceType>::VertexType* vcg::face::Pos<FaceType>::VFlip() [with FaceType = MyFace]’ at vcglib/vcg/simplex/face/pos.h:225:10,
inlined from ‘static void vcg::tri::UpdateCurvature<MeshType>::PrincipalDirections(MeshType&) [with MeshType = MyMesh]’ at vcglib/vcg/complex/algorithms/update/curvature.h:107:39:
vcglib/vcg/simplex/face/base.h:55:57: warning: ‘pos.vcg::face::JumpingPos<MyFace>::<unnamed>.vcg::face::Pos<MyFace>::z’ may be used uninitialized [-Wmaybe-uninitialized]
55 | inline int Next(const int & i) const { return (i+1)%3;}
| ~~^~~
In file included from typedef.h:17:
vcglib/vcg/complex/algorithms/update/curvature.h: In static member function ‘static void vcg::tri::UpdateCurvature<MeshType>::PrincipalDirections(MeshType&) [with MeshType = MyMesh]’:
vcglib/vcg/complex/algorithms/update/curvature.h:104:41: note: ‘pos.vcg::face::JumpingPos<MyFace>::<unnamed>.vcg::face::Pos<MyFace>::z’ was declared here
104 | vcg::face::JumpingPos<FaceType> pos((*vi).VFp(), central_vertex);
| ^~~
In file included from vcglib/vcg/space/point3.h:25,
from vcglib/vcg/space/box3.h:26,
from vcglib/vcg/complex/used_types.h:26:
In member function ‘vcg::Point3<P3ScalarType> vcg::Point3<P3ScalarType>::operator*(P3ScalarType) const [with P3ScalarType = float]’,
inlined from ‘static void vcg::tri::UpdateCurvature<MeshType>::PrincipalDirections(MeshType&) [with MeshType = MyMesh]’ at vcglib/vcg/complex/algorithms/update/curvature.h:247:54:
vcglib/vcg/space/deprecated_point3.h:295:16: warning: ‘best_c’ may be used uninitialized [-Wmaybe-uninitialized]
295 | return Point3<P3ScalarType>( _v[0]*s, _v[1]*s, _v[2]*s );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/update/curvature.h: In static member function ‘static void vcg::tri::UpdateCurvature<MeshType>::PrincipalDirections(MeshType&) [with MeshType = MyMesh]’:
vcglib/vcg/complex/algorithms/update/curvature.h:197:15: note: ‘best_c’ was declared here
197 | float best_c, best_s;
| ^~~~~~
In member function ‘vcg::Point3<P3ScalarType> vcg::Point3<P3ScalarType>::operator*(P3ScalarType) const [with P3ScalarType = float]’,
inlined from ‘static void vcg::tri::UpdateCurvature<MeshType>::PrincipalDirections(MeshType&) [with MeshType = MyMesh]’ at vcglib/vcg/complex/algorithms/update/curvature.h:247:45:
vcglib/vcg/space/deprecated_point3.h:295:16: warning: ‘best_s’ may be used uninitialized [-Wmaybe-uninitialized]
295 | return Point3<P3ScalarType>( _v[0]*s, _v[1]*s, _v[2]*s );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/update/curvature.h: In static member function ‘static void vcg::tri::UpdateCurvature<MeshType>::PrincipalDirections(MeshType&) [with MeshType = MyMesh]’:
vcglib/vcg/complex/algorithms/update/curvature.h:197:23: note: ‘best_s’ was declared here
197 | float best_c, best_s;
| ^~~~~~
Rintersect.cpp: In function ‘SEXPREC* Rintersect(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
Rintersect.cpp:79:17: warning: variable ‘dirOrig’ set but not used [-Wunused-but-set-variable]
79 | Point3f dirOrig = dir;
| ^~~~~~~
Risolated.cpp: In function ‘SEXPREC* Risolated(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
Risolated.cpp:92:13: warning: unused variable ‘length’ [-Wunused-variable]
92 | int length = CCV.size();
| ^~~~~~
Risolated.cpp:37:11: warning: unused variable ‘TotalCC’ [-Wunused-variable]
37 | int TotalCC=tri::Clean<MyMesh>::ConnectedComponents(m, CCV);
| ^~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Risoremesh.cpp -o Risoremesh.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Risoremesh.cpp:11:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Risoremesh.cpp:8:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rkdtree.cpp -o Rkdtree.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rkdtree.cpp:3:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rkdtree.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RkdtreeXptr.cpp -o RkdtreeXptr.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from RkdtreeXptr.cpp:3:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from RkdtreeXptr.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
Risoremesh.cpp: In function ‘SEXPREC* RisotropicResampling(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
Risoremesh.cpp:35:9: warning: unused variable ‘checkit’ [-Wunused-variable]
35 | int checkit = Rvcg::IOMesh<MyMesh>::RvcgReadR(baseMesh,vb_,it_);
| ^~~~~~~
Rkdtree.cpp: In function ‘SEXPREC* Rkdtree(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
Rkdtree.cpp:19:34: warning: typedef ‘mypair’ locally defined but not used [-Wunused-local-typedefs]
19 | typedef std::pair<float,int> mypair;
| ^~~~~~
Rkdtree.cpp: In function ‘SEXPREC* RclosestKD(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
Rkdtree.cpp:49:9: warning: variable ‘checkit’ set but not used [-Wunused-but-set-variable]
49 | int checkit = Rvcg::IOMesh<MyMesh>::mesh3d2Rvcg(target,target_);
| ^~~~~~~
Rkdtree.cpp: In function ‘SEXPREC* Rbarycenter(SEXP)’:
Rkdtree.cpp:83:9: warning: unused variable ‘checkit’ [-Wunused-variable]
83 | int checkit = Rvcg::IOMesh<MyMesh>::mesh3d2Rvcg(m,mesh_);
| ^~~~~~~
In file included from Risoremesh.cpp:9:
vcglib/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘static int vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::tagCreaseEdges(MeshType&, Params&, bool) [with TRI_MESH_TYPE = MyMesh; MeshType = MyMesh; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params]’:
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:288:27: required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(MeshType&, MeshType&, Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = MyMesh; MeshType = MyMesh; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
288 | tagCreaseEdges(toRemesh, params);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Risoremesh.cpp:80:38: required from here
80 | tri::IsotropicRemeshing<MyMesh>::Do(baseMesh, toProjectCopy, params);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:372:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<MyFace*, std::allocator<MyFace*> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
372 | for (int i = 0; i < faces.size(); ++i)
| ~~^~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:347:24: warning: unused variable ‘qualityCheck’ [-Wunused-variable]
347 | const bool qualityCheck = quality > 0.00000001 && qualityAdj > 0.00000001;
| ^~~~~~~~~~~~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::ImproveValence(MeshType&, Params&) [with TRI_MESH_TYPE = MyMesh; MeshType = MyMesh; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params]’:
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:314:31: required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(MeshType&, MeshType&, Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = MyMesh; MeshType = MyMesh; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
314 | ImproveValence(toRemesh, params);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Risoremesh.cpp:80:38: required from here
80 | tri::IsotropicRemeshing<MyMesh>::Do(baseMesh, toProjectCopy, params);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:673:33: warning: unused variable ‘foldCheckRad’ [-Wunused-variable]
673 | const static ScalarType foldCheckRad = math::ToRad(5.);
| ^~~~~~~~~~~~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::removeColinearFaces(MeshType&, Params&) [with TRI_MESH_TYPE = MyMesh; MeshType = MyMesh; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params]’:
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:249:28: required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::cleanMesh(MeshType&, Params&) [with TRI_MESH_TYPE = MyMesh; MeshType = MyMesh; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params]’
249 | removeColinearFaces(m, params);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:281:22: required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(MeshType&, MeshType&, Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = MyMesh; MeshType = MyMesh; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
281 | cleanMesh(toRemesh, params);
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~
Risoremesh.cpp:80:38: required from here
80 | tri::IsotropicRemeshing<MyMesh>::Do(baseMesh, toProjectCopy, params);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:197:36: warning: variable ‘n1’ set but not used [-Wunused-but-set-variable]
197 | const auto n1 = vcg::TriangleNormal(t1);
| ^~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:198:36: warning: variable ‘n2’ set but not used [-Wunused-but-set-variable]
198 | const auto n2 = vcg::TriangleNormal(t2);
| ^~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:199:36: warning: variable ‘n3’ set but not used [-Wunused-but-set-variable]
199 | const auto n3 = vcg::TriangleNormal(t3);
| ^~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:200:36: warning: variable ‘n4’ set but not used [-Wunused-but-set-variable]
200 | const auto n4 = vcg::TriangleNormal(t4);
| ^~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:184:26: warning: unused variable ‘f1’ [-Wunused-variable]
184 | auto f1 = f.cFFp(longestIdx);
| ^~
In file included from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28,
from vcglib/vcg/complex/algorithms/isotropic_remeshing.h:32:
vcglib/vcg/complex/algorithms/edge_collapse.h: In instantiation of ‘static int vcg::tri::EdgeCollapser<TRI_MESH_TYPE, VertexPair>::Do(TriMeshType&, VertexPair&, const vcg::Point3<typename ComputeMeshType::VertexType::ScalarType>&, bool) [with TRI_MESH_TYPE = MyMesh; VertexPair = vcg::tri::BasicVertexPair<MyVertex>; TriMeshType = MyMesh; typename ComputeMeshType::VertexType::ScalarType = float; typename ComputeMeshType::VertexType = MyVertex]’:
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:1000:42: required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(MeshType&, Params&) [with TRI_MESH_TYPE = MyMesh; MeshType = MyMesh; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params]’
1000 | Collapser::Do(m, bp, mp, true);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:309:35: required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(MeshType&, MeshType&, Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = MyMesh; MeshType = MyMesh; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
309 | CollapseShortEdges(toRemesh, params);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Risoremesh.cpp:80:38: required from here
80 | tri::IsotropicRemeshing<MyMesh>::Do(baseMesh, toProjectCopy, params);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/edge_collapse.h:276:23: warning: unused variable ‘f’ [-Wunused-variable]
276 | FaceType & f = *((*i).f);
| ^
vcglib/vcg/complex/algorithms/edge_collapse.h:305:27: warning: unused variable ‘f’ [-Wunused-variable]
305 | FaceType & f = *((*i).f);
| ^
vcglib/vcg/complex/algorithms/isotropic_remeshing.h: In instantiation of ‘static bool vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::checkCanMoveOnCollapse(const PosType&, const std::vector<typename CleanMeshType::FaceType*>&, const std::vector<int>&, const Params&) [with TRI_MESH_TYPE = MyMesh; PosType = vcg::face::Pos<MyFace>; typename CleanMeshType::FaceType = MyFace; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params]’:
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:901:54: required from ‘static bool vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::checkCollapseFacesAroundVert1(const PosType&, VertexPair&, vcg::Point3<typename TRI_MESH_TYPE::FaceType::VertexType::ScalarType>&, Params&, bool) [with TRI_MESH_TYPE = MyMesh; PosType = vcg::face::Pos<MyFace>; VertexPair = vcg::tri::BasicVertexPair<MyVertex>; typename TRI_MESH_TYPE::FaceType::VertexType::ScalarType = float; typename TRI_MESH_TYPE::FaceType::VertexType = MyVertex; typename TRI_MESH_TYPE::FaceType = MyFace; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params]’
901 | const bool moveable0 = checkCanMoveOnCollapse(p0, ff0, vi0, params) && !p0.V()->IsS();
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:930:49: required from ‘static bool vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::testCollapse1(const PosType&, VertexPair&, vcg::Point3<typename TRI_MESH_TYPE::FaceType::VertexType::ScalarType>&, ScalarType, ScalarType, Params&, bool) [with TRI_MESH_TYPE = MyMesh; PosType = vcg::face::Pos<MyFace>; VertexPair = vcg::tri::BasicVertexPair<MyVertex>; typename TRI_MESH_TYPE::FaceType::VertexType::ScalarType = float; typename TRI_MESH_TYPE::FaceType::VertexType = MyVertex; typename TRI_MESH_TYPE::FaceType = MyFace; ScalarType = float; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params]’
930 | return checkCollapseFacesAroundVert1(p, pair, mp, params, relaxed);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:998:41: required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::CollapseShortEdges(MeshType&, Params&) [with TRI_MESH_TYPE = MyMesh; MeshType = MyMesh; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params]’
998 | if(testCollapse1(pi, bp, mp, minQ, maxQ, params) && Collapser::LinkConditions(bp))
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:309:35: required from ‘static void vcg::tri::IsotropicRemeshing<TRI_MESH_TYPE>::Do(MeshType&, MeshType&, Params&, bool (*)(int, const char*)) [with TRI_MESH_TYPE = MyMesh; MeshType = MyMesh; Params = vcg::tri::IsotropicRemeshing<MyMesh>::Params; vcg::CallBackPos = bool(int, const char*)]’
309 | CollapseShortEdges(toRemesh, params);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Risoremesh.cpp:80:38: required from here
80 | tri::IsotropicRemeshing<MyMesh>::Do(baseMesh, toProjectCopy, params);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/isotropic_remeshing.h:800:17: warning: variable ‘pi’ set but not used [-Wunused-but-set-variable]
800 | PosType pi = p;
| ^~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rkmeans.cpp -o Rkmeans.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rkmeans.cpp:3:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rkmeans.cpp:2:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
Rkmeans.cpp: In function ‘SEXPREC* Rkmeans(SEXP, SEXP, SEXP, SEXP)’:
Rkmeans.cpp:80:11: warning: unused variable ‘neighbours’ [-Wunused-variable]
80 | int neighbours = queue.getNofElements();
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rmarch.cpp -o Rmarch.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from Rmarch.cpp:5:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rmarch.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rmeshres.cpp -o Rmeshres.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rmeshres.cpp:2:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rmeshres.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rmeshvol.cpp -o Rmeshvol.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rmeshvol.cpp:7:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rmeshvol.cpp:6:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
In file included from Rmarch.cpp:19:
In member function ‘bool vcg::tri::TrivialWalker<MeshType, VolumeType>::Exist(const vcg::Point3i&, const vcg::Point3i&, VertexPointer&) [with MeshType = MyMesh; VolumeType = vcg::MySimpleVolume<vcg::MySimpleVoxel>]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:596:35:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:23: warning: ‘vidx’ may be used uninitialized [-Wmaybe-uninitialized]
232 | v = (vidx!=-1)? &_mesh->vert[vidx] : NULL;
| ^
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:13: note: ‘vidx’ was declared here
221 | int vidx;
| ^~~~
In member function ‘bool vcg::tri::TrivialWalker<MeshType, VolumeType>::Exist(const vcg::Point3i&, const vcg::Point3i&, VertexPointer&) [with MeshType = MyMesh; VolumeType = vcg::MySimpleVolume<vcg::MySimpleVoxel>]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:601:35:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:23: warning: ‘vidx’ may be used uninitialized [-Wmaybe-uninitialized]
232 | v = (vidx!=-1)? &_mesh->vert[vidx] : NULL;
| ^
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:13: note: ‘vidx’ was declared here
221 | int vidx;
| ^~~~
In member function ‘bool vcg::tri::TrivialWalker<MeshType, VolumeType>::Exist(const vcg::Point3i&, const vcg::Point3i&, VertexPointer&) [with MeshType = MyMesh; VolumeType = vcg::MySimpleVolume<vcg::MySimpleVoxel>]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:606:35:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:23: warning: ‘vidx’ may be used uninitialized [-Wmaybe-uninitialized]
232 | v = (vidx!=-1)? &_mesh->vert[vidx] : NULL;
| ^
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:13: note: ‘vidx’ was declared here
221 | int vidx;
| ^~~~
In member function ‘bool vcg::tri::TrivialWalker<MeshType, VolumeType>::Exist(const vcg::Point3i&, const vcg::Point3i&, VertexPointer&) [with MeshType = MyMesh; VolumeType = vcg::MySimpleVolume<vcg::MySimpleVoxel>]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:611:35:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:23: warning: ‘vidx’ may be used uninitialized [-Wmaybe-uninitialized]
232 | v = (vidx!=-1)? &_mesh->vert[vidx] : NULL;
| ^
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:13: note: ‘vidx’ was declared here
221 | int vidx;
| ^~~~
In member function ‘bool vcg::tri::TrivialWalker<MeshType, VolumeType>::Exist(const vcg::Point3i&, const vcg::Point3i&, VertexPointer&) [with MeshType = MyMesh; VolumeType = vcg::MySimpleVolume<vcg::MySimpleVoxel>]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:616:35:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:23: warning: ‘vidx’ may be used uninitialized [-Wmaybe-uninitialized]
232 | v = (vidx!=-1)? &_mesh->vert[vidx] : NULL;
| ^
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:13: note: ‘vidx’ was declared here
221 | int vidx;
| ^~~~
In member function ‘bool vcg::tri::TrivialWalker<MeshType, VolumeType>::Exist(const vcg::Point3i&, const vcg::Point3i&, VertexPointer&) [with MeshType = MyMesh; VolumeType = vcg::MySimpleVolume<vcg::MySimpleVoxel>]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:621:35:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:23: warning: ‘vidx’ may be used uninitialized [-Wmaybe-uninitialized]
232 | v = (vidx!=-1)? &_mesh->vert[vidx] : NULL;
| ^
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:13: note: ‘vidx’ was declared here
221 | int vidx;
| ^~~~
In member function ‘bool vcg::tri::TrivialWalker<MeshType, VolumeType>::Exist(const vcg::Point3i&, const vcg::Point3i&, VertexPointer&) [with MeshType = MyMesh; VolumeType = vcg::MySimpleVolume<vcg::MySimpleVoxel>]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:626:35:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:23: warning: ‘vidx’ may be used uninitialized [-Wmaybe-uninitialized]
232 | v = (vidx!=-1)? &_mesh->vert[vidx] : NULL;
| ^
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:13: note: ‘vidx’ was declared here
221 | int vidx;
| ^~~~
In member function ‘bool vcg::tri::TrivialWalker<MeshType, VolumeType>::Exist(const vcg::Point3i&, const vcg::Point3i&, VertexPointer&) [with MeshType = MyMesh; VolumeType = vcg::MySimpleVolume<vcg::MySimpleVoxel>]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:631:35:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:23: warning: ‘vidx’ may be used uninitialized [-Wmaybe-uninitialized]
232 | v = (vidx!=-1)? &_mesh->vert[vidx] : NULL;
| ^
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:13: note: ‘vidx’ was declared here
221 | int vidx;
| ^~~~
In member function ‘bool vcg::tri::TrivialWalker<MeshType, VolumeType>::Exist(const vcg::Point3i&, const vcg::Point3i&, VertexPointer&) [with MeshType = MyMesh; VolumeType = vcg::MySimpleVolume<vcg::MySimpleVoxel>]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:636:35:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:23: warning: ‘vidx’ may be used uninitialized [-Wmaybe-uninitialized]
232 | v = (vidx!=-1)? &_mesh->vert[vidx] : NULL;
| ^
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:13: note: ‘vidx’ was declared here
221 | int vidx;
| ^~~~
In member function ‘bool vcg::tri::TrivialWalker<MeshType, VolumeType>::Exist(const vcg::Point3i&, const vcg::Point3i&, VertexPointer&) [with MeshType = MyMesh; VolumeType = vcg::MySimpleVolume<vcg::MySimpleVoxel>]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:641:35:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:23: warning: ‘vidx’ may be used uninitialized [-Wmaybe-uninitialized]
232 | v = (vidx!=-1)? &_mesh->vert[vidx] : NULL;
| ^
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:13: note: ‘vidx’ was declared here
221 | int vidx;
| ^~~~
In member function ‘bool vcg::tri::TrivialWalker<MeshType, VolumeType>::Exist(const vcg::Point3i&, const vcg::Point3i&, VertexPointer&) [with MeshType = MyMesh; VolumeType = vcg::MySimpleVolume<vcg::MySimpleVoxel>]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:646:35:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:23: warning: ‘vidx’ may be used uninitialized [-Wmaybe-uninitialized]
232 | v = (vidx!=-1)? &_mesh->vert[vidx] : NULL;
| ^
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:13: note: ‘vidx’ was declared here
221 | int vidx;
| ^~~~
In member function ‘bool vcg::tri::TrivialWalker<MeshType, VolumeType>::Exist(const vcg::Point3i&, const vcg::Point3i&, VertexPointer&) [with MeshType = MyMesh; VolumeType = vcg::MySimpleVolume<vcg::MySimpleVoxel>]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:651:35:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:232:23: warning: ‘vidx’ may be used uninitialized [-Wmaybe-uninitialized]
232 | v = (vidx!=-1)? &_mesh->vert[vidx] : NULL;
| ^
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ComputeCVertex(VertexPointer&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:221:13: note: ‘vidx’ was declared here
221 | int vidx;
| ^~~~
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h: In member function ‘void vcg::tri::TrivialWalker<MeshType, VolumeType>::GetZIntercept(const vcg::Point3i&, const vcg::Point3i&, VertexPointer&) [with MeshType = MyMesh; VolumeType = vcg::MySimpleVolume<vcg::MySimpleVoxel>]’:
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:315:25: warning: ‘pos’ may be used uninitialized [-Wmaybe-uninitialized]
315 | v = &_mesh->vert[pos];
| ~~~~~~~~~~~^
vcglib/vcg/complex/algorithms/create/mc_trivial_walker.h:290:21: note: ‘pos’ was declared here
290 | VertexIndex pos;
| ^~~
In file included from Rmarch.cpp:17:
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:275:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:275:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:275:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:275:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:276:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:276:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:276:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:276:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:277:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:277:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:277:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:277:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:278:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:278:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:278:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:278:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:279:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:279:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:279:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:279:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:280:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:280:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:280:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:280:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:240:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:240:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:240:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:240:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:252:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:252:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:252:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:252:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:242:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:242:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:242:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:242:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:210:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:210:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:210:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:210:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:222:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:222:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:222:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:222:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:212:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:212:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:212:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:212:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:183:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:183:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:183:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:183:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:184:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:184:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:184:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:184:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:185:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:185:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:185:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:185:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:167:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:167:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:167:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:167:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:148:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:148:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:148:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:148:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::TrivialWalker<MyMesh, vcg::MySimpleVolume<vcg::MySimpleVoxel> >]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rmetro.cpp -o Rmetro.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c ROneRing.cpp -o ROneRing.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from ROneRing.cpp:3:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from ROneRing.cpp:2:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
Rmeshvol.cpp: In function ‘SEXPREC* Rmeshvol(SEXP)’:
Rmeshvol.cpp:17:9: warning: unused variable ‘check’ [-Wunused-variable]
17 | int check = Rvcg::IOMesh<MyMesh>::mesh3d2Rvcg(m,mesh_);
| ^~~~~
Rmeshvol.cpp:21:9: warning: unused variable ‘numholes’ [-Wunused-variable]
21 | int numholes, BEdges = 0;
| ^~~~~~~~
Rmeshvol.cpp:21:19: warning: unused variable ‘BEdges’ [-Wunused-variable]
21 | int numholes, BEdges = 0;
| ^~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rplatonic.cpp -o Rplatonic.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rplatonic.cpp:3:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rplatonic.cpp:2:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
In file included from typedefMetro.h:15,
from Rmetro.cpp:2:
metroSampling.h: In member function ‘void vcg::Sampling<MetroMesh>::Hausdorff()’:
metroSampling.h:563:55: warning: typedef ‘FaceVecIterator’ locally defined but not used [-Wunused-local-typedefs]
563 | typedef typename std::vector<FaceType>::iterator FaceVecIterator;
| ^~~~~~~~~~~~~~~
Rmetro.cpp: In function ‘SEXPREC* Rmetro(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
Rmetro.cpp:63:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
63 | if (nSamples != 0) NumberOfSamples = true; n_samples_target = nSamples;
| ^~
Rmetro.cpp:63:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
63 | if (nSamples != 0) NumberOfSamples = true; n_samples_target = nSamples;
| ^~~~~~~~~~~~~~~~
Rmetro.cpp:64:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
64 | if (nSamplesArea != 0 ) SamplesPerAreaUnit = true; n_samples_per_area_unit = nSamplesArea;
| ^~
Rmetro.cpp:64:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
64 | if (nSamplesArea != 0 ) SamplesPerAreaUnit = true; n_samples_per_area_unit = nSamplesArea;
| ^~~~~~~~~~~~~~~~~~~~~~~
Rmetro.cpp:190:14: warning: unused variable ‘lbi’ [-Wunused-variable]
190 | double lbi = fwdhist.BinLowerBound(i);
| ^~~
Rmetro.cpp:191:14: warning: unused variable ‘hi’ [-Wunused-variable]
191 | double hi = fwdhist.BinCountInd(i)/fwdcnt;
| ^~
Rmetro.cpp:200:14: warning: unused variable ‘lbi’ [-Wunused-variable]
200 | double lbi = bckhist.BinLowerBound(i);
| ^~~
Rmetro.cpp:201:14: warning: unused variable ‘hi’ [-Wunused-variable]
201 | double hi = bckhist.BinCountInd(i)/bckcnt;
| ^~
metroSampling.h: In instantiation of ‘void vcg::Sampling<MetroMesh>::EdgeSampling() [with MetroMesh = CMeshMetro]’:
metroSampling.h:591:13: required from ‘void vcg::Sampling<MetroMesh>::Hausdorff() [with MetroMesh = CMeshMetro]’
591 | EdgeSampling();
| ^~~~~~~~~~~~
Rmetro.cpp:129:30: required from here
129 | ForwardSampling.Hausdorff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
metroSampling.h:342:29: warning: unused variable ‘cnt’ [-Wunused-variable]
342 | int cnt=0;
| ^~~
metroSampling.h: In instantiation of ‘float vcg::Sampling<MetroMesh>::AddSample(const Point3x&) [with MetroMesh = CMeshMetro; Point3x = vcg::Point3<double>]’:
metroSampling.h:282:12: required from ‘void vcg::Sampling<MetroMesh>::VertexSampling() [with MetroMesh = CMeshMetro]’
282 | error = AddSample((*vi).cP());
| ^~~~~~~~~
metroSampling.h:583:7: required from ‘void vcg::Sampling<MetroMesh>::Hausdorff() [with MetroMesh = CMeshMetro]’
583 | VertexSampling();
| ^~~~~~~~~~~~~~
Rmetro.cpp:129:30: required from here
129 | ForwardSampling.Hausdorff();
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
metroSampling.h:231:17: warning: variable ‘f’ set but not used [-Wunused-but-set-variable]
231 | FaceType *f=0;
| ^
Rplatonic.cpp: In function ‘SEXPREC* RBox(SEXP, SEXP)’:
Rplatonic.cpp:140:9: warning: unused variable ‘a’ [-Wunused-variable]
140 | int a = Rvcg::IOMesh<MyMesh>::mesh3d2Rvcg(mesh,mesh_);
| ^
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RQEdecim.cpp -o RQEdecim.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rsample.cpp -o Rsample.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rsample.cpp:2:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rsample.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rsmooth.cpp -o Rsmooth.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rsmooth.cpp:6:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rsmooth.cpp:5:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Rsubdivision.cpp -o Rsubdivision.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Rsubdivision.cpp:8:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Rsubdivision.cpp:6:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
RQEdecim.cpp: In function ‘SEXPREC* RQEdecim(SEXP, SEXP, SEXP, SEXP, SEXP)’:
RQEdecim.cpp:97:9: warning: unused variable ‘i’ [-Wunused-variable]
97 | int i;
| ^
Rsubdivision.cpp: In function ‘SEXPREC* Rsubdivision(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
Rsubdivision.cpp:18:9: warning: unused variable ‘i’ [-Wunused-variable]
18 | int i;
| ^
In file included from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse.h:28,
from vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:29,
from RQEdecim.cpp:19:
vcglib/vcg/complex/algorithms/edge_collapse.h: In instantiation of ‘static int vcg::tri::EdgeCollapser<TRI_MESH_TYPE, VertexPair>::Do(TriMeshType&, VertexPair&, const vcg::Point3<typename ComputeMeshType::VertexType::ScalarType>&, bool) [with TRI_MESH_TYPE = CMeshDec; VertexPair = vcg::tri::BasicVertexPair<CVertex>; TriMeshType = CMeshDec; typename ComputeMeshType::VertexType::ScalarType = float; typename ComputeMeshType::VertexType = CVertex]’:
vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:186:46: required from ‘void vcg::tri::TriEdgeCollapseQuadric<TriMeshType, VertexPair, MYTYPE, HelperType>::Execute(TriMeshType&, vcg::BaseParameterClass*) [with TriMeshType = CMeshDec; VertexPair = vcg::tri::BasicVertexPair<CVertex>; MYTYPE = CTriEdgeCollapse; HelperType = vcg::tri::QInfoStandard<CVertex>]’
186 | EdgeCollapser<TriMeshType,VertexPair>::Do(m, this->pos, newPos);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:182:8: required from here
182 | void Execute(TriMeshType &m, BaseParameterClass * /*_pp*/)
| ^~~~~~~
vcglib/vcg/complex/algorithms/edge_collapse.h:276:23: warning: unused variable ‘f’ [-Wunused-variable]
276 | FaceType & f = *((*i).f);
| ^
vcglib/vcg/complex/algorithms/edge_collapse.h:305:27: warning: unused variable ‘f’ [-Wunused-variable]
305 | FaceType & f = *((*i).f);
| ^
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Runiform_resample.cpp -o Runiform_resample.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RupdateNormals.cpp -o RupdateNormals.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from Runiform_resample.cpp:10:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from Runiform_resample.cpp:8:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from RupdateNormals.cpp:2:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from RupdateNormals.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RvcgXPTr.cpp -o RvcgXPTr.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from RvcgXPTr.cpp:2:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from RvcgXPTr.cpp:1:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
Runiform_resample.cpp: In function ‘SEXPREC* RuniformResampling(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP)’:
Runiform_resample.cpp:26:7: warning: unused variable ‘checkit’ [-Wunused-variable]
26 | int checkit = Rvcg::IOMesh<MyMesh>::RvcgReadR(baseMesh,vb_,it_);
| ^~~~~~~
Runiform_resample.cpp:73:7: warning: unused variable ‘j’ [-Wunused-variable]
73 | int j = 0;
| ^
In file included from vcglib/vcg/complex/algorithms/create/resampler.h:32,
from Runiform_resample.cpp:3:
vcglib/vcg/space/index/kdtree/kdtree_face.h: In instantiation of ‘int vcg::KdTreeFace<MeshType>::CreateTree(unsigned int, unsigned int) [with MeshType = MyMesh]’:
vcglib/vcg/space/index/kdtree/kdtree_face.h:116:18: required from ‘void vcg::KdTreeFace<MeshType>::Set(const ObjIter&, const ObjIter&, int, bool) [with ObjIter = __gnu_cxx::__normal_iterator<MyFace*, std::vector<MyFace, std::allocator<MyFace> > >; MeshType = MyMesh]’
116 | numLevel = CreateTree(0, 1);
| ^~~~~~~~~~
vcglib/vcg/complex/algorithms/create/resampler.h:345:13: required from ‘void vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Walker::BuildMesh(OldMeshType&, NewMeshType&, EXTRACTOR_TYPE&, bool (*)(int, const char*)) [with EXTRACTOR_TYPE = vcg::tri::MarchingCubes<MyMesh, vcg::tri::Resampler<MyMesh, MyMesh>::Walker>; OldMeshType = MyMesh; NewMeshType = MyMesh; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<float>; vcg::CallBackPos = bool(int, const char*)]’
345 | _g.Set(_oldM->face.begin(),_oldM->face.end(),_size);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/create/resampler.h:636:21: required from ‘static void vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Resample(OldMeshType&, NewMeshType&, NewBoxType, vcg::Point3<int>, float, float, bool, bool, bool, bool (*)(int, const char*)) [with OldMeshType = MyMesh; NewMeshType = MyMesh; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<float>; NewBoxType = vcg::Box3<float>; vcg::CallBackPos = bool(int, const char*)]’
636 | walker.BuildMesh(old_mesh,new_mesh,mc,cb);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Runiform_resample.cpp:43:42: required from here
43 | tri::Resampler<MyMesh,MyMesh>::Resample(baseMesh, offsetMesh, volumeBox, volumeDim, voxelSize*3.5, offsetThr,discretizeFlag,multiSampleFlag,absDistFlag);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/space/index/kdtree/kdtree_face.h:270:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<MyFace*, std::allocator<MyFace*> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
270 | for (int i = 0; i < parent.list.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/create/resampler.h: In instantiation of ‘vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Walker::field_value vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Walker::DistanceFromMesh(vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::OldCoordType&) [with OldMeshType = MyMesh; NewMeshType = MyMesh; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<float>; field_value = std::pair<bool, float>; vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::OldCoordType = vcg::Point3<float>]’:
vcglib/vcg/complex/algorithms/create/resampler.h:255:38: required from ‘void vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Walker::ComputeSliceValues(int, std::vector<std::pair<bool, float> >&) [with OldMeshType = MyMesh; NewMeshType = MyMesh; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<float>]’
255 | else slice_values[index] = DistanceFromMesh(pp);
| ^~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/create/resampler.h:413:7: required from ‘void vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Walker::Begin() [with OldMeshType = MyMesh; NewMeshType = MyMesh; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<float>]’
413 | ComputeSliceValues(CurrentSlice,_v_cs);
| ^~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/create/resampler.h:350:7: required from ‘void vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Walker::BuildMesh(OldMeshType&, NewMeshType&, EXTRACTOR_TYPE&, bool (*)(int, const char*)) [with EXTRACTOR_TYPE = vcg::tri::MarchingCubes<MyMesh, vcg::tri::Resampler<MyMesh, MyMesh>::Walker>; OldMeshType = MyMesh; NewMeshType = MyMesh; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<float>; vcg::CallBackPos = bool(int, const char*)]’
350 | Begin();
| ^~~~~
vcglib/vcg/complex/algorithms/create/resampler.h:636:21: required from ‘static void vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Resample(OldMeshType&, NewMeshType&, NewBoxType, vcg::Point3<int>, float, float, bool, bool, bool, bool (*)(int, const char*)) [with OldMeshType = MyMesh; NewMeshType = MyMesh; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<float>; NewBoxType = vcg::Box3<float>; vcg::CallBackPos = bool(int, const char*)]’
636 | walker.BuildMesh(old_mesh,new_mesh,mc,cb);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Runiform_resample.cpp:43:42: required from here
43 | tri::Resampler<MyMesh,MyMesh>::Resample(baseMesh, offsetMesh, volumeBox, volumeDim, voxelSize*3.5, offsetThr,discretizeFlag,multiSampleFlag,absDistFlag);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/create/resampler.h:179:12: warning: variable ‘retIP’ set but not used [-Wunused-but-set-variable]
179 | bool retIP;
| ^~~~~
vcglib/vcg/space/index/kdtree/kdtree_face.h: In instantiation of ‘vcg::KdTreeFace<MeshType>::FacePointer vcg::KdTreeFace<MeshType>::GetClosest(ObjPointDistFunction&, ObjectMarker&, const VectorType&, Scalar, Scalar&, VectorType&) [with ObjPointDistFunction = vcg::face::PointDistanceBaseFunctor<float>; ObjectMarker = vcg::tri::EmptyTMark<MyMesh>; MeshType = MyMesh; FacePointer = MyFace*; VectorType = vcg::Point3<float>; Scalar = float]’:
vcglib/vcg/complex/algorithms/create/resampler.h:174:37: required from ‘vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Walker::field_value vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Walker::DistanceFromMesh(vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::OldCoordType&) [with OldMeshType = MyMesh; NewMeshType = MyMesh; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<float>; field_value = std::pair<bool, float>; vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::OldCoordType = vcg::Point3<float>]’
174 | OldFaceType *f = _g.GetClosest(PDistFunct,markerFunctor,testPt,max_dist,dist,closestPt);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/create/resampler.h:255:38: required from ‘void vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Walker::ComputeSliceValues(int, std::vector<std::pair<bool, float> >&) [with OldMeshType = MyMesh; NewMeshType = MyMesh; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<float>]’
255 | else slice_values[index] = DistanceFromMesh(pp);
| ^~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/create/resampler.h:413:7: required from ‘void vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Walker::Begin() [with OldMeshType = MyMesh; NewMeshType = MyMesh; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<float>]’
413 | ComputeSliceValues(CurrentSlice,_v_cs);
| ^~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/create/resampler.h:350:7: required from ‘void vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Walker::BuildMesh(OldMeshType&, NewMeshType&, EXTRACTOR_TYPE&, bool (*)(int, const char*)) [with EXTRACTOR_TYPE = vcg::tri::MarchingCubes<MyMesh, vcg::tri::Resampler<MyMesh, MyMesh>::Walker>; OldMeshType = MyMesh; NewMeshType = MyMesh; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<float>; vcg::CallBackPos = bool(int, const char*)]’
350 | Begin();
| ^~~~~
vcglib/vcg/complex/algorithms/create/resampler.h:636:21: required from ‘static void vcg::tri::Resampler<OldMeshType, NewMeshType, DISTFUNCTOR>::Resample(OldMeshType&, NewMeshType&, NewBoxType, vcg::Point3<int>, float, float, bool, bool, bool, bool (*)(int, const char*)) [with OldMeshType = MyMesh; NewMeshType = MyMesh; DISTFUNCTOR = vcg::face::PointDistanceBaseFunctor<float>; NewBoxType = vcg::Box3<float>; vcg::CallBackPos = bool(int, const char*)]’
636 | walker.BuildMesh(old_mesh,new_mesh,mc,cb);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Runiform_resample.cpp:43:42: required from here
43 | tri::Resampler<MyMesh,MyMesh>::Resample(baseMesh, offsetMesh, volumeBox, volumeDim, voxelSize*3.5, offsetThr,discretizeFlag,multiSampleFlag,absDistFlag);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/space/index/kdtree/kdtree_face.h:153:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<MyFace*, std::allocator<MyFace*> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
153 | for (int i = 0; i < node.list.size(); i++)
| ~~^~~~~~~~~~~~~~~~~~
In file included from /data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/Core:341,
from vcglib/vcg/math/matrix44.h:34,
from vcglib/vcg/space/box3.h:27,
from vcglib/vcg/complex/used_types.h:26,
from vcglib/vcg/complex/complex.h:46,
from RQEdecim.cpp:11:
/data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixVector.h: In function ‘static void Eigen::internal::trmv_selector<Mode, 1>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, -1, false> >; Rhs = Eigen::Transpose<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, 1, true>, -1, 1, false> > > >; Dest = Eigen::Transpose<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, false> >; int Mode = 6]’:
/data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixVector.h:332:12: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
327 | internal::triangular_matrix_vector_product
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | <Index,Mode,
| ~~~~~~~~~~~~
329 | LhsScalar, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
330 | RhsScalar, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
331 | RowMajor>
| ~~~~~~~~~
332 | ::run(actualLhs.rows(),actualLhs.cols(),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | actualLhs.data(),actualLhs.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | actualRhsPtr,1,
| ~~~~~~~~~~~~~~~
335 | dest.data(),dest.innerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
336 | actualAlpha);
| ~~~~~~~~~~~~
/data/gannet/ripley/R/test-dev/RcppEigen/include/Eigen/src/Core/products/TriangularMatrixVector.h:105:24: note: by argument 5 of type ‘const double*’ to ‘static void Eigen::internal::triangular_matrix_vector_product<Index, Mode, LhsScalar, ConjLhs, RhsScalar, ConjRhs, 1, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, const ResScalar&) [with Index = long int; int Mode = 6; LhsScalar = double; bool ConjLhs = false; RhsScalar = double; bool ConjRhs = false; int Version = 0]’ declared here
105 | EIGEN_DONT_INLINE void triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,RowMajor,Version>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h: In member function ‘vcg::tri::TriEdgeCollapseQuadric<TriMeshType, VertexPair, MYTYPE, HelperType>::ScalarType vcg::tri::TriEdgeCollapseQuadric<TriMeshType, VertexPair, MYTYPE, HelperType>::ComputePriority(vcg::BaseParameterClass*) [with TriMeshType = CMeshDec; VertexPair = vcg::tri::BasicVertexPair<CVertex>; MYTYPE = CTriEdgeCollapse; HelperType = vcg::tri::QInfoStandard<CVertex>]’:
vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:171:41: warning: ‘x.vcg::Point3<double>::_v[0]’ may be used uninitialized [-Wmaybe-uninitialized]
171 | Point3<QuadricType::ScalarType> x;
| ^
vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:171:41: warning: ‘x.vcg::Point3<double>::_v[1]’ may be used uninitialized [-Wmaybe-uninitialized]
In file included from vcglib/vcg/space/point3.h:25,
from vcglib/vcg/space/box3.h:26:
In static member function ‘static vcg::Point3<P3ScalarType> vcg::Point3<P3ScalarType>::Construct(const vcg::Point3<Q>&) [with Q = double; P3ScalarType = float]’,
inlined from ‘void vcg::tri::TriEdgeCollapseQuadric<TriMeshType, VertexPair, MYTYPE, HelperType>::ComputePosition(vcg::BaseParameterClass*) [with TriMeshType = CMeshDec; VertexPair = vcg::tri::BasicVertexPair<CVertex>; MYTYPE = CTriEdgeCollapse; HelperType = vcg::tri::QInfoStandard<CVertex>]’ at vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:176:38,
inlined from ‘vcg::tri::TriEdgeCollapseQuadric<TriMeshType, VertexPair, MYTYPE, HelperType>::ScalarType vcg::tri::TriEdgeCollapseQuadric<TriMeshType, VertexPair, MYTYPE, HelperType>::ComputePriority(vcg::BaseParameterClass*) [with TriMeshType = CMeshDec; VertexPair = vcg::tri::BasicVertexPair<CVertex>; MYTYPE = CTriEdgeCollapse; HelperType = vcg::tri::QInfoStandard<CVertex>]’ at vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:340:20:
vcglib/vcg/space/deprecated_point3.h:216:12: warning: ‘x.vcg::Point3<double>::_v[2]’ may be used uninitialized [-Wmaybe-uninitialized]
216 | return Point3(P3ScalarType(b[0]),P3ScalarType(b[1]),P3ScalarType(b[2]));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h: In member function ‘vcg::tri::TriEdgeCollapseQuadric<TriMeshType, VertexPair, MYTYPE, HelperType>::ScalarType vcg::tri::TriEdgeCollapseQuadric<TriMeshType, VertexPair, MYTYPE, HelperType>::ComputePriority(vcg::BaseParameterClass*) [with TriMeshType = CMeshDec; VertexPair = vcg::tri::BasicVertexPair<CVertex>; MYTYPE = CTriEdgeCollapse; HelperType = vcg::tri::QInfoStandard<CVertex>]’:
vcglib/vcg/complex/algorithms/local_optimization/tri_edge_collapse_quadric.h:171:41: note: ‘x.vcg::Point3<double>::_v[2]’ was declared here
171 | Point3<QuadricType::ScalarType> x;
| ^
In file included from vcglib/vcg/complex/algorithms/create/resampler.h:29:
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:275:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:275:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:275:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:275:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:276:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:276:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:276:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:276:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:277:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:277:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:277:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:277:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:278:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:278:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:278:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:278:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:279:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:279:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:279:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:279:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:280:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:280:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:280:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:280:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:240:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:240:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:240:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:240:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:252:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:252:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:252:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:252:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:242:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:242:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:242:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:242:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:210:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:210:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:210:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:210:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:222:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:222:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:222:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:222:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:212:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:212:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:212:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:212:41:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:183:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:183:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:183:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:183:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:184:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:184:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:184:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:184:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:185:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:185:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:185:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:185:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:167:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:167:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:167:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:167:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:148:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘A’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:28: note: ‘A’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:148:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘B’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:30: note: ‘B’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:148:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:38: warning: ‘C’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:32: note: ‘C’ was declared here
411 | ScalarType A,B,C,D ;
| ^
In member function ‘bool vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::TestFace(signed char) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’,
inlined from ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’ at vcglib/vcg/complex/algorithms/create/marching_cubes.h:148:37:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:424:44: warning: ‘D’ may be used uninitialized [-Wmaybe-uninitialized]
424 | return face * A * ( A*C - B*D ) >= 0 ; // face and A invert signs
| ~^~
vcglib/vcg/complex/algorithms/create/marching_cubes.h: In member function ‘void vcg::tri::MarchingCubes<TRIMESH_TYPE, WALKER_TYPE>::ProcessCell(const vcg::Point3i&, const vcg::Point3i&) [with TRIMESH_TYPE = MyMesh; WALKER_TYPE = vcg::tri::Resampler<MyMesh, MyMesh>::Walker]’:
vcglib/vcg/complex/algorithms/create/marching_cubes.h:411:34: note: ‘D’ was declared here
411 | ScalarType A,B,C,D ;
| ^
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -Ivcglib -I. -I'/data/gannet/ripley/R/test-dev/Rcpp/include' -I'/data/gannet/ripley/R/test-dev/RcppEigen/include' -I'/data/gannet/ripley/R/test-dev/RcppArmadillo/include' -I/usr/local/include -fopenmp -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c RVFadj.cpp -o RVFadj.o
In file included from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:26,
from /data/gannet/ripley/R/test-dev/RcppArmadillo/include/RcppArmadillo.h:32,
from RvcgIO.h:3,
from RVFadj.cpp:5:
/data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:144:9: warning: ‘RcppExport’ redefined
144 | #define RcppExport extern "C" attribute_visible
| ^~~~~~~~~~
In file included from RVFadj.cpp:4:
typedef.h:44:9: note: this is the location of the previous definition
44 | #define RcppExport extern "C"
| ^~~~~~~~~~
RVFadj.cpp: In function ‘SEXPREC* RVVadj(SEXP, SEXP, SEXP, SEXP, SEXP)’:
RVFadj.cpp:90:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<MyVertex*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
90 | for(int j=0; j<neigh.size(); j++) {
| ~^~~~~~~~~~~~~
RVFadj.cpp:50:7: warning: unused variable ‘i’ [-Wunused-variable]
50 | int i;
| ^
RVFadj.cpp:61:41: warning: typedef ‘VFIterator’ locally defined but not used [-Wunused-local-typedefs]
61 | typedef vcg::face::VFIterator<MyFace> VFIterator;
| ^~~~~~~~~~
g++ -std=gnu++17 -shared -L/usr/local/lib64 -o Rvcg.so vcglib/wrap/ply/plylib.o checkListNames.o init.o RallRead.o Rarea.o Rballpivot.o Rborder.o Rclean.o Rclost.o Rcurvature.o Rdijkstra.o Rexport.o RgetEdge.o Rintersect.o Risolated.o Risoremesh.o Rkdtree.o RkdtreeXptr.o Rkmeans.o Rmarch.o Rmeshres.o Rmeshvol.o Rmetro.o ROneRing.o Rplatonic.o RQEdecim.o Rsample.o Rsmooth.o Rsubdivision.o Runiform_resample.o RupdateNormals.o RvcgXPTr.o RVFadj.o -fopenmp
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/Rvcg/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/Rvcg/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/Rvcg/src'
installing to /data/gannet/ripley/R/packages/tests-devel/Rvcg.Rcheck/00LOCK-Rvcg/00new/Rvcg/libs
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (Rvcg)