Disable Wstringop-xxx false positives also in newer GCCs

This commit is contained in:
Ion Gaztañaga
2024-06-02 13:06:33 +02:00
parent 7ec7de921c
commit 4142050048

View File

@@ -50,7 +50,7 @@
# pragma GCC diagnostic ignored "-Wstringop-overflow"
# endif
//GCC 12 seems a bit confused about array access error with small_vector
# if defined(BOOST_GCC) && ((BOOST_GCC >= 110000) && (BOOST_GCC < 130000))
# if defined(BOOST_GCC) && (BOOST_GCC >= 110000)
# pragma GCC diagnostic ignored "-Wstringop-overread"
# pragma GCC diagnostic ignored "-Wstringop-overflow"
# endif