From 80fd398478c3066a202ae184b4fff1d8302338a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Loriot?= Date: Wed, 3 Sep 2025 16:03:11 +0200 Subject: [PATCH] hide warning messages that are too verbose --- CGAL_Core/include/CGAL/CORE/Config.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/CGAL_Core/include/CGAL/CORE/Config.h b/CGAL_Core/include/CGAL/CORE/Config.h index 9f49a7f5986..36a342a5f73 100644 --- a/CGAL_Core/include/CGAL/CORE/Config.h +++ b/CGAL_Core/include/CGAL/CORE/Config.h @@ -29,12 +29,10 @@ #include -#ifdef CGAL_TEST_SUITE -// disabled for the testsuite to avoid `w` -#define CGAL_CORE_warning_msg(X ,Y) -// if (!(X)) CGAL_error_msg(Y) -#else +#ifdef CGAL_CORE_DEBUG #define CGAL_CORE_warning_msg(X ,Y) CGAL_warning_msg(X ,Y) +#else +#define CGAL_CORE_warning_msg(X ,Y) #endif