o3tl/qa/test-string_view.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit e88fbc883fd7fc06c324819bae35cb8d3a80ab77 Author: Stephan Bergmann <[email protected]> AuthorDate: Wed Dec 22 09:27:33 2021 +0100 Commit: Stephan Bergmann <[email protected]> CommitDate: Wed Dec 22 13:41:34 2021 +0100 -Werror,-Wundef (clang-cl) Change-Id: Ife97d1645c0ef4684a00f943c649b19623290d7d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127299 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <[email protected]> diff --git a/o3tl/qa/test-string_view.cxx b/o3tl/qa/test-string_view.cxx index a18a00ad71d9..80f757529eee 100644 --- a/o3tl/qa/test-string_view.cxx +++ b/o3tl/qa/test-string_view.cxx @@ -22,7 +22,7 @@ #include <rtl/ustring.hxx> // gcc 11.2.0 triggers a spurious -Werror=stringop-overread -#if !(__GNUC__ == 11 && __GNUC_MINOR__ == 2) +#if !(defined __GNUC__ && __GNUC__ == 11 && __GNUC_MINOR__ == 2) namespace CppUnit {
