diff --git a/test/snprintf_test.cpp b/test/snprintf_test.cpp index 02e6f759..c0fcf653 100644 --- a/test/snprintf_test.cpp +++ b/test/snprintf_test.cpp @@ -2,6 +2,10 @@ // Distributed under the Boost Software License, Version 1.0. // http://www.boost.org/LICENSE_1_0.txt +#if defined(__GNUC__) +# pragma GCC diagnostic ignored "-Wformat-truncation" +#endif + #include #include