diff --git a/Bounding_volumes/include/CGAL/Approximate_min_ellipsoid_d/Khachiyan_approximation_impl.h b/Bounding_volumes/include/CGAL/Approximate_min_ellipsoid_d/Khachiyan_approximation_impl.h index 73a12f6c4a1..2a07ab98873 100644 --- a/Bounding_volumes/include/CGAL/Approximate_min_ellipsoid_d/Khachiyan_approximation_impl.h +++ b/Bounding_volumes/include/CGAL/Approximate_min_ellipsoid_d/Khachiyan_approximation_impl.h @@ -28,6 +28,7 @@ #include #include +#include #include namespace CGAL { @@ -366,7 +367,7 @@ namespace CGAL { CGAL_APPEL_ASSERT(!check_tag(Exact_flag()) || tau == eps/((1+eps)*d-1)); CGAL_APPEL_ASSERT(!check_tag(Exact_flag()) || excess(tco.cartesian_begin(*P[k])) == (1+eps)*d); - + CGAL_USE(tau); const FT mu = eps / ((d-1)*(1+eps)); const FT alpha = 1 + mu; const FT beta = mu / (1+eps); diff --git a/Kernel_d/include/CGAL/Kernel_d/Sphere_d.h b/Kernel_d/include/CGAL/Kernel_d/Sphere_d.h index 5756fccee0e..c250afa8162 100644 --- a/Kernel_d/include/CGAL/Kernel_d/Sphere_d.h +++ b/Kernel_d/include/CGAL/Kernel_d/Sphere_d.h @@ -28,6 +28,7 @@ #include #include #include +#include namespace CGAL { @@ -56,6 +57,7 @@ public: P(first,last), cp(0) { TUPLE_DIM_CHECK(P.begin(),P.end(),Sphere_d); CGAL_assertion(d+1==int(P.size())); + CGAL_USE(d); typename R::Orientation_d orientation_; orient = orientation_(P.begin(),P.end()); } diff --git a/Kernel_d/include/CGAL/Kernel_d/Tuple_d.h b/Kernel_d/include/CGAL/Kernel_d/Tuple_d.h index 6f07dbe1886..48d6451aa67 100644 --- a/Kernel_d/include/CGAL/Kernel_d/Tuple_d.h +++ b/Kernel_d/include/CGAL/Kernel_d/Tuple_d.h @@ -224,11 +224,13 @@ void Tuple_d::print(std::ostream& os, const char* l) const case CGAL::IO::ASCII : os << size() << " "; for (i = 0; i < size(); ++i) - os << v[i] << " "; break; + os << v[i] << " "; + break; case CGAL::IO::BINARY : CGAL::write(os, size()); for (i = 0; i < size(); ++i) - CGAL::write(os, v[i]); break; + CGAL::write(os, v[i]); + break; default : os << l << "(" << size() << ", "; for (i = 0; i < size(); ++i) { diff --git a/Kernel_d/include/CGAL/Kernel_d/function_objectsCd.h b/Kernel_d/include/CGAL/Kernel_d/function_objectsCd.h index 90a6808f053..3c82d134f6c 100644 --- a/Kernel_d/include/CGAL/Kernel_d/function_objectsCd.h +++ b/Kernel_d/include/CGAL/Kernel_d/function_objectsCd.h @@ -27,6 +27,7 @@ #include #include +#include #include #undef CGAL_KD_TRACE @@ -143,6 +144,7 @@ public: result_type operator()(Forward_iterator start, Forward_iterator end) const { CGAL_assertion(start!=end); + CGAL_USE(d); int d = start->dimension(); Matrix M(d); Vector b(d); diff --git a/Kernel_d/include/CGAL/Kernel_d/function_objectsHd.h b/Kernel_d/include/CGAL/Kernel_d/function_objectsHd.h index 8d634d3d607..38c4a2e6a78 100644 --- a/Kernel_d/include/CGAL/Kernel_d/function_objectsHd.h +++ b/Kernel_d/include/CGAL/Kernel_d/function_objectsHd.h @@ -128,6 +128,7 @@ typedef typename R::LA LA; template Point_d operator()(Forward_iterator start, Forward_iterator end) const { CGAL_assertion(start!=end); + CGAL_USE(end); int d = start->dimension(); typename LA::Matrix M(d); typename LA::Vector b(d); diff --git a/Nef_2/include/CGAL/Nef_2/PM_point_locator.h b/Nef_2/include/CGAL/Nef_2/PM_point_locator.h index 45b8710a0f7..92234dbaa00 100644 --- a/Nef_2/include/CGAL/Nef_2/PM_point_locator.h +++ b/Nef_2/include/CGAL/Nef_2/PM_point_locator.h @@ -174,8 +174,9 @@ public: Direction d_res = direction(e_res); Halfedge_around_vertex_const_circulator el(e_res),ee(el); CGAL_For_all(el,ee) { - if ( K.strictly_ordered_ccw(d_res, direction(el), d) ) + if ( K.strictly_ordered_ccw(d_res, direction(el), d) ){ e_res = el; d_res = direction(e_res); + } } CGAL_NEF_TRACEN(" determined "< std::ostream& operator<<(std::ostream& os, const CGAL::Sphere_triangle& t) { for (int i=0; i<3; ++i) os << t.point(i); - for (int i=0; i<3; ++i) os << t.circle(i); return os; } + for (int i=0; i<3; ++i) os << t.circle(i); + return os; } template std::istream& operator>>(std::istream& is,