Disable -Wformat-truncation in error_category_test(2).cpp under GCC 16

This commit is contained in:
Peter Dimov
2026-04-30 18:52:05 +03:00
parent 080b4e9961
commit 04ac86837c
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -8,6 +8,10 @@
// See library home page at http://www.boost.org/libs/system
#if defined(__GNUC__) && __GNUC__ >= 16
# pragma GCC diagnostic ignored "-Wformat-truncation"
#endif
#include <boost/system/error_category.hpp>
#include <boost/core/lightweight_test.hpp>
#include <boost/core/snprintf.hpp>