summaryrefslogtreecommitdiff
path: root/o3tl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-11-30 09:02:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-11-30 09:33:06 +0100
commit5a945e22ee5d51faf3e0ff1acabe79ad615e76bc (patch)
treeef2092ac8c0d3df82c028937f570ecc5ac015df6 /o3tl
parent48f0c5f73f99c919ec24deadc96c3cf5483c9314 (diff)
disable test under gcc 11.2.0
Change-Id: Ic0d19cf827bc04026b5adf88bd5eb0a84e9dc270 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126080 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'o3tl')
-rw-r--r--o3tl/qa/test-string_view.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/o3tl/qa/test-string_view.cxx b/o3tl/qa/test-string_view.cxx
index 61145613693b..be1d356bdc61 100644
--- a/o3tl/qa/test-string_view.cxx
+++ b/o3tl/qa/test-string_view.cxx
@@ -20,6 +20,9 @@
#include <rtl/string.hxx>
#include <rtl/ustring.hxx>
+// gcc 11.2.0 triggers a spurious -Werror=stringop-overread
+#if !(__GNUC__ == 11 && __GNUC_MINOR__ == 2)
+
namespace CppUnit
{
template <> struct assertion_traits<std::u16string_view>
@@ -587,5 +590,6 @@ private:
CPPUNIT_TEST_SUITE_REGISTRATION(Test);
}
+#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */