From f3f60d24f73f9744366bdf3c025cdb8a5da2e361 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Tue, 10 Feb 2026 11:16:28 -0500 Subject: [PATCH] Ignore GCC-12 stringop overflow warning in test set --- test/github_issue_int128_320.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/github_issue_int128_320.cpp b/test/github_issue_int128_320.cpp index dc54a65..4d4842d 100644 --- a/test/github_issue_int128_320.cpp +++ b/test/github_issue_int128_320.cpp @@ -8,6 +8,11 @@ #ifdef BOOST_CHARCONV_HAS_INT128 +#if defined(__GNUC__) && __GNUC__ == 12 +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wstringop-overflow" +#endif + #include #include #include