tmp/build/vcglib/vcg/complex/algorithms/create/platonic.h:566:41: warning: typedef 'ScalarType' locally defined but not used [-Wunused-local-typedefs]
typedef typename MeshType::ScalarType ScalarType;
^
/tmp/build/vcglib/vcg/complex/algorithms/create/platonic.h:570:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs]
typedef typename MeshType::FaceIterator FaceIterator;
^
/tmp/build/vcglib/vcg/complex/algorithms/create/platonic.h: In function 'void vcg::tri::Grid(MeshType&, int, int, float, float, float*)':
/tmp/build/vcglib/vcg/complex/algorithms/create/platonic.h:630:45: warning: typedef 'VertexPointer' locally defined but not used [-Wunused-local-typedefs]
typedef typename MeshType::VertexPointer VertexPointer;
^
/tmp/build/vcglib/vcg/complex/algorithms/create/platonic.h:631:45: warning: typedef 'VertexIterator' locally defined but not used [-Wunused-local-typedefs]
typedef typename MeshType::VertexIterator VertexIterator;
^
/tmp/build/vcglib/vcg/complex/algorithms/create/platonic.h:632:45: warning: typedef 'FaceIterator' locally defined but not used [-Wunused-local-typedefs]
typedef typename MeshType::FaceIterator FaceIterator;
^
/tmp/build/openmvs/libs/MVS/Mesh.cpp: In member function 'bool MVS::Mesh::ProjectOrtho(const MVS::Camera&, MVS::DepthMap&) const::RasterMesh::ProjectVertex(const Vertex&, int)':
/tmp/build/openmvs/libs/MVS/Mesh.cpp:3593:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
pti[v] = camera.TransformPointC2I(reinterpret_cast<const Point2&>(ptc[v]));
^
/tmp/build/openmvs/libs/MVS/Mesh.cpp: In member function 'bool MVS::Mesh::ProjectOrtho(const MVS::Camera&, MVS::DepthMap&, SEACAVE::Image8U3&) const::RasterMesh::ProjectVertex(const Vertex&, int)':
/tmp/build/openmvs/libs/MVS/Mesh.cpp:3629:76: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
pti[v] = camera.TransformPointC2I(reinterpret_cast<const Point2&>(ptc[v]));
^
In file included from /tmp/build/openmvs/libs/MVS/../Common/Types.h:2638:0,
from /tmp/build/openmvs/libs/MVS/../Common/Common.h:176,
from /tmp/build/openmvs/libs/MVS/Common.h:42,
from /tmp/build/openmvs/libs/MVS/Mesh.cpp:32:
/tmp/build/openmvs/libs/MVS/../Common/Types.inl: In instantiation of 'bool SEACAVE::TImage<TYPE>::Save(const SEACAVE::String&) const [with TYPE = SEACAVE::TPixel<unsigned char>]':
/tmp/build/openmvs/libs/MVS/Mesh.cpp:1516:39: required from here
/tmp/build/openmvs/libs/MVS/../Common/Types.inl:2763:54: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
static const bool is_little_endian = (*((float*)b) < 1.f);
^
In file included from /tmp/build/openmvs/libs/MVS/Mesh.cpp:49:0:
/tmp/build/vcglib/vcg/complex/algorithms/hole.h: In instantiation of 'bool vcg::tri::SelfIntersectionEar<MESH>::Close(vcg::tri::SelfIntersectionEar<MESH>::PosType&, vcg::tri::SelfIntersectionEar<MESH>::PosType&, vcg::tri::SelfIntersectionEar<MESH>::FacePointer) [with MESH = CLEAN::Mesh; vcg::tri::SelfIntersectionEar<MESH>::PosType = vcg::face::Pos<CLEAN::Face>; typename MeshType::FaceType = CLEAN::Face; vcg::tri::SelfIntersectionEar<MESH>::FacePointer = CLEAN::Face*]':
/tmp/build/vcglib/vcg/complex/algorithms/hole.h:464:11: required from 'static void vcg::tri::Hole<MESH>::FillHoleEar(MESH&, vcg::tri::Hole<MESH>::Info&, std::vector<typename MeshType::FacePointer*>&) [with EAR = vcg::tri::SelfIntersectionEar<CLEAN::Mesh>; MESH = CLEAN::Mesh; typename MeshType::FacePointer = CLEAN::Face*]'
Got some warning when building the docker image: