From 670346ba86606a563a5f46a28796872fcfe8e652 Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Mon, 4 Dec 2017 11:08:46 +0100 Subject: [PATCH] Add deprecated PSP V1 API macro --- .../include/CGAL/point_set_processing_assertions.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Point_set_processing_3/include/CGAL/point_set_processing_assertions.h b/Point_set_processing_3/include/CGAL/point_set_processing_assertions.h index fecb08b9052..37397a99071 100644 --- a/Point_set_processing_3/include/CGAL/point_set_processing_assertions.h +++ b/Point_set_processing_3/include/CGAL/point_set_processing_assertions.h @@ -370,4 +370,10 @@ # define CGAL_point_set_processing_expensive_exactness_warnings 1 #endif // CGAL_POINT_SET_PROCESSING_NO_WARNINGS +#undef CGAL_POINT_SET_PROCESSING_DEPRECATED_V1_API + +#define CGAL_POINT_SET_PROCESSING_DEPRECATED_V1_API(FCT) \ + std::cerr << "Warning: you are using the deprecated V1 API of the Point Set Processing\n function " \ + << FCT << ", please update your code." << std::endl + /// \endcond