Skip to content

Commit

Permalink
Disable -Wformat-truncation in snprintf_test.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Jan 17, 2024
1 parent 00fb79f commit 66f8bcd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/snprintf_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <boost/system/detail/snprintf.hpp>
#include <boost/core/lightweight_test.hpp>

Expand Down

0 comments on commit 66f8bcd

Please sign in to comment.