mirror of https://github.com/CGAL/cgal
Fix warnings
This commit is contained in:
parent
4f622097c4
commit
e3aad4d079
|
|
@ -55,7 +55,7 @@ struct Dump_c3t3 {
|
|||
|
||||
template <typename C3t3>
|
||||
struct Dump_c3t3<C3t3, false> {
|
||||
void dump_c3t3(const C3t3& c3t3, std::string prefix) {
|
||||
void dump_c3t3(const C3t3&, std::string) {
|
||||
std::cerr << "Warning " << __FILE__ << ":" << __LINE__ << "\n"
|
||||
<< " the c3t3 object cannot be dumped because some types are"
|
||||
<< " not streamable:\n";
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ typename K::Point_3
|
|||
lp_intersection(const typename K::Point_3& p, const typename K::Point_3& q,
|
||||
const typename K::Point_3& a, const typename K::Point_3& b,
|
||||
const typename K::Point_3& c,
|
||||
const K & k)
|
||||
const K &)
|
||||
{
|
||||
CGAL_MESH_3_PROFILER(std::string(CGAL_PRETTY_FUNCTION));
|
||||
typedef Exact_predicates_exact_constructions_kernel EPEC;
|
||||
|
|
|
|||
|
|
@ -824,13 +824,13 @@ Display_incidences_to_curves_aux<MDwPF_,curve_id_is_streamable>::
|
|||
operator()(std::ostream& os, typename MDwPF_::Curve_segment_index id,
|
||||
const Container2& corners_tmp_incidences_of_id) const
|
||||
{
|
||||
std::cerr << "Corner #" << id << " is incident to the following curves: {";
|
||||
os << "Corner #" << id << " is incident to the following curves: {";
|
||||
BOOST_FOREACH(typename MDwPF_::Curve_segment_index curve_index,
|
||||
corners_tmp_incidences_of_id)
|
||||
{
|
||||
std::cerr << " " << curve_index;
|
||||
os << " " << curve_index;
|
||||
}
|
||||
std::cerr << " }\n";
|
||||
os << " }\n";
|
||||
}
|
||||
|
||||
template <class MDwPF_>
|
||||
|
|
@ -841,9 +841,9 @@ Display_incidences_to_curves_aux<MDwPF_,false>::
|
|||
operator()(std::ostream& os, typename MDwPF_::Curve_segment_index id,
|
||||
const Container2& corners_tmp_incidences_of_id) const
|
||||
{
|
||||
std::cerr << "Corner #" << id << " is incident to "
|
||||
<< corners_tmp_incidences_of_id .size()
|
||||
<< " curve(s).\n";
|
||||
os << "Corner #" << id << " is incident to "
|
||||
<< corners_tmp_incidences_of_id .size()
|
||||
<< " curve(s).\n";
|
||||
}
|
||||
|
||||
template <typename MDwPF_, bool patch_id_is_streamable>
|
||||
|
|
@ -854,13 +854,13 @@ Display_incidences_to_patches_aux<MDwPF_,patch_id_is_streamable>::
|
|||
operator()(std::ostream& os, typename MDwPF_::Curve_segment_index id,
|
||||
const Container& corners_incidences_of_id) const
|
||||
{
|
||||
std::cerr << "Corner #" << id << " is incident to the following patches: {";
|
||||
os << "Corner #" << id << " is incident to the following patches: {";
|
||||
BOOST_FOREACH(typename MDwPF_::Surface_patch_index i,
|
||||
corners_incidences_of_id)
|
||||
{
|
||||
std::cerr << " " << i;
|
||||
os << " " << i;
|
||||
}
|
||||
std::cerr << " }\n";
|
||||
os << " }\n";
|
||||
}
|
||||
|
||||
template <class MDwPF_>
|
||||
|
|
@ -871,9 +871,9 @@ Display_incidences_to_patches_aux<MDwPF_,false>::
|
|||
operator()(std::ostream& os, typename MDwPF_::Curve_segment_index id,
|
||||
const Container& corners_incidences_id) const
|
||||
{
|
||||
std::cerr << "Corner #" << id << " is incident to "
|
||||
<< corners_incidences_id.size()
|
||||
<< " surface patch(es).\n";
|
||||
os << "Corner #" << id << " is incident to "
|
||||
<< corners_incidences_id.size()
|
||||
<< " surface patch(es).\n";
|
||||
}
|
||||
|
||||
}} // end namespaces internal::Mesh_3:: and internal::
|
||||
|
|
|
|||
|
|
@ -31,6 +31,10 @@ using namespace CGAL::parameters;
|
|||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
if(argc != 2) {
|
||||
std::cerr << "This test needs a filename as argument.\n";
|
||||
return 1;
|
||||
}
|
||||
typedef K::Point_3 Point;
|
||||
|
||||
// Create domain
|
||||
|
|
|
|||
Loading…
Reference in New Issue