silent some compiler warnings

This commit is contained in:
Eric Berberich 2012-07-08 10:30:22 +00:00
parent 42d9d930ac
commit bc4ca5b218
4 changed files with 8 additions and 7 deletions

View File

@ -65,7 +65,7 @@ public:
// Copy constructor
Arr_algebraic_segment_traits_2 (const Self& s) { /* No state...*/}
Arr_algebraic_segment_traits_2 (const Self& /* s */) { /* No state...*/}
// Assignement operator
const Self& operator= (const Self& s)

View File

@ -291,7 +291,7 @@ std::ostream& operator << (std::ostream& os,
template <class SweepCurvesAdaptor_2, class Rep_>
std::istream& operator >> (std::istream& is,
Generic_arc_2<SweepCurvesAdaptor_2, Rep_>& arc) {
Generic_arc_2<SweepCurvesAdaptor_2, Rep_>& /* arc */) {
std::cerr << "bogus >> call for generic_arc\n";
return is;

View File

@ -213,7 +213,7 @@ std::ostream& operator << (std::ostream& os,
template <class SweepCurvesAdaptor_2, class Rep_>
std::istream& operator >> (std::istream& is,
Generic_point_2<SweepCurvesAdaptor_2, Rep_>& pt) {
Generic_point_2<SweepCurvesAdaptor_2, Rep_>& /* pt */) {
std::cerr << "bogus >> call for generic_point\n";
return is;

View File

@ -593,8 +593,9 @@ public:
* lexicographic order of endpoints is ensured automatically, hence no
* special handling is required
*/
result_type operator()(const Arc_2& cv, const Point_2& p,
const Point_2& q) const {
result_type operator()(const Arc_2& cv,
const Point_2& /* p */,
const Point_2& /* q */) const {
SCA_CERR("\n\nWARNING!! New_endpoints_opposite_2: cv: " << cv <<
"\n p: " << p << "\n q: " << q << std::endl);
CGAL_error_msg("New_endpoints_opposite_2 deprecated and must not be \