-
Hello, CRAN has upgraded gcc to version 13.2 and it finds "significant warnings", which are not acceptable by CRAN. The two lines MODULE.h:1074 and MODULE.h:1083 are both a call to
Any idea how I can fix that? I don't understand this report. What are the deprecated declarations? if(fairhole) {
const bool success = std::get<0>(
PMP::triangulate_refine_and_fair_hole(
mesh, h,
std::back_inserter(patch_faces), std::back_inserter(patch_vertices)
)
);
if(!success) {
Message("Fairing failed.");
}
} else {
PMP::triangulate_and_refine_hole(
mesh, h,
std::back_inserter(patch_faces), std::back_inserter(patch_vertices)
);
} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
No idea? For me a declaration is something like |
Beta Was this translation helpful? Give feedback.
-
From https://github.com/CGAL/cgal/blob/master/Installation/CHANGES.md Deprecated the overloads of functions CGAL::Polygon_mesh_processing::triangulate_hole(), CGAL::Polygon_mesh_processing::triangulate_and_refine_hole(), and CGAL::Polygon_mesh_processing::triangulate_refine_and_fair_hole() which have output iterators for vertices and faces as parameter. They are replaced by overloads with two additional named parameters. In your code you can use:
|
Beta Was this translation helpful? Give feedback.
From https://github.com/CGAL/cgal/blob/master/Installation/CHANGES.md
Deprecated the overloads of functions CGAL::Polygon_mesh_processing::triangulate_hole(), CGAL::Polygon_mesh_processing::triangulate_and_refine_hole(), and CGAL::Polygon_mesh_processing::triangulate_refine_and_fair_hole() which have output iterators for vertices and faces as parameter. They are replaced by overloads with two additional named parameters.
In your code you can use: