add an option to disable the warning

This commit is contained in:
Sébastien Loriot 2018-10-18 05:55:23 +02:00
parent 636fa74f86
commit a2d0c406a7
1 changed files with 4 additions and 0 deletions

View File

@ -26,9 +26,13 @@
#include <CGAL/number_type_config.h>
#include <CGAL/double.h>
#ifndef CGAL_I_WANT_TO_USE_DIAGONALIZE_TRAITS
#define CGAL_WARNING_DIAGONALIZE_TRAITS \
CGAL_DEPRECATED_MSG("CGAL::Diagonalize_traits is a deprecated class that can \
lead to precision issues, please use CGAL::Eigen_diagonalize_traits")
#else
#define CGAL_WARNING_DIAGONALIZE_TRAITS
#endif
/// \cond SKIP_IN_MANUAL