less warnings

This commit is contained in:
Andreas Fabri 2014-07-01 14:45:28 +02:00
parent e0eafe352c
commit 31cbcd5544
8 changed files with 8 additions and 8 deletions

View File

@ -18,7 +18,7 @@ typedef boost::graph_traits<Polyhedron>::vertex_iterator vertex_iterator;
int main(int argc, char** argv) { int main(int, char** argv) {
Polyhedron P; Polyhedron P;
std::ifstream in(argv[1]); std::ifstream in(argv[1]);

View File

@ -46,7 +46,7 @@ adjacent_vertices_V2(const Polyhedron& g,
} }
int main(int argc, char** argv) int main(int, char** argv)
{ {
std::ifstream in(argv[1]); std::ifstream in(argv[1]);
Polyhedron P; Polyhedron P;

View File

@ -69,7 +69,7 @@ void calculate_face_normals(const HalfedgeGraph& g,
} }
} }
int main(int argc, char** argv) int main(int, char** argv)
{ {
typedef boost::property_map< typedef boost::property_map<
Polyhedron, Polyhedron,

View File

@ -58,7 +58,7 @@ void fct(const Polyhedron& p)
std::for_each(vb,ve, Fct()); std::for_each(vb,ve, Fct());
} }
int main(int argc, char** argv) int main(int, char** argv)
{ {
Polyhedron P; Polyhedron P;
std::ifstream in(argv[1]); std::ifstream in(argv[1]);

View File

@ -38,7 +38,7 @@ struct Source {
} }
}; };
int main(int argc, char** argv) int main(int, char** argv)
{ {
std::ifstream in(argv[1]); std::ifstream in(argv[1]);
Polyhedron P; Polyhedron P;

View File

@ -26,7 +26,7 @@ void index_uniqueness(const G&,
assert(r.second); assert(r.second);
} }
assert(std::distance(begin2, end) == m.size()); assert(std::distance(begin2, end) == static_cast<std::ptrdiff_t>(m.size()));
} }

View File

@ -29,7 +29,7 @@ typedef CGAL::Halfedge_around_source_circulator<Polyhedron> halfedge_around_sour
typedef CGAL::Halfedge_around_target_iterator<Polyhedron> halfedge_around_target_iterator; typedef CGAL::Halfedge_around_target_iterator<Polyhedron> halfedge_around_target_iterator;
typedef CGAL::Halfedge_around_face_iterator<Polyhedron> halfedge_around_face_iterator; typedef CGAL::Halfedge_around_face_iterator<Polyhedron> halfedge_around_face_iterator;
int main(int argc, char* argv[]) int main(int, char* argv[])
{ {
std::ifstream in(argv[1]); std::ifstream in(argv[1]);
Polyhedron P; Polyhedron P;

View File

@ -33,7 +33,7 @@ typedef unspecified_type Profile;
/*! /*!
The point type for the surface mesh vertex. Must be a model of `Point_3`. The point type for the surface mesh vertex. Must be a model of `Point_3`.
*/ */
typename CGAL::halfedge_graph_traits<ECM>::Point Point; typename unspecified_type Point;
/*! /*!
An integer type representing the number of edges An integer type representing the number of edges