mirror of
https://github.com/boostorg/system.git
synced 2026-07-10 10:20:51 +02:00
Disable -Wformat-truncation in error_category_test(2).cpp under GCC 16
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user