Hide warning messages that are too verbose (#9054)

Note that prior to 6.0 all those messages were written into a debug
file.
This commit is contained in:
Sebastien Loriot 2025-09-09 19:50:55 +02:00 committed by GitHub
commit 616b2828b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 5 deletions

View File

@ -29,12 +29,10 @@
#include <CGAL/export/CORE.h> #include <CGAL/export/CORE.h>
#ifdef CGAL_TEST_SUITE #ifdef CGAL_CORE_DEBUG
// disabled for the testsuite to avoid `w`
#define CGAL_CORE_warning_msg(X ,Y)
// if (!(X)) CGAL_error_msg(Y)
#else
#define CGAL_CORE_warning_msg(X ,Y) CGAL_warning_msg(X ,Y) #define CGAL_CORE_warning_msg(X ,Y) CGAL_warning_msg(X ,Y)
#else
#define CGAL_CORE_warning_msg(X ,Y)
#endif #endif