diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase/0009-tst_qstring-Disable-Wformat-security-with-clang-as-w.patch')
| -rw-r--r-- | recipes-qt/qt5/qtbase/0009-tst_qstring-Disable-Wformat-security-with-clang-as-w.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/recipes-qt/qt5/qtbase/0009-tst_qstring-Disable-Wformat-security-with-clang-as-w.patch b/recipes-qt/qt5/qtbase/0009-tst_qstring-Disable-Wformat-security-with-clang-as-w.patch deleted file mode 100644 index 609cd846..00000000 --- a/recipes-qt/qt5/qtbase/0009-tst_qstring-Disable-Wformat-security-with-clang-as-w.patch +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | From 7bab0171601bc769403be62d145164137f1b7b66 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Tue, 25 Jul 2017 19:40:52 -0700 | ||
| 4 | Subject: [PATCH] tst_qstring: Disable Wformat-security with clang as well | ||
| 5 | |||
| 6 | Currently, its only disabled for gcc, but we need to disable | ||
| 7 | it with clang as well in order to compile it successfully with | ||
| 8 | clang | ||
| 9 | |||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | tests/auto/corelib/tools/qstring/tst_qstring.cpp | 3 +++ | ||
| 13 | 1 file changed, 3 insertions(+) | ||
| 14 | |||
| 15 | diff --git a/tests/auto/corelib/tools/qstring/tst_qstring.cpp b/tests/auto/corelib/tools/qstring/tst_qstring.cpp | ||
| 16 | index a0a872710c..20a9a9f9db 100644 | ||
| 17 | --- a/tests/auto/corelib/tools/qstring/tst_qstring.cpp | ||
| 18 | +++ b/tests/auto/corelib/tools/qstring/tst_qstring.cpp | ||
| 19 | @@ -1066,6 +1066,9 @@ void tst_QString::acc_01() | ||
| 20 | |||
| 21 | QT_WARNING_PUSH | ||
| 22 | QT_WARNING_DISABLE_GCC("-Wformat-security") | ||
| 23 | +#ifdef __clang__ | ||
| 24 | +QT_WARNING_DISABLE_CLANG("-Wformat-security") | ||
| 25 | +#endif | ||
| 26 | |||
| 27 | void tst_QString::isNull() | ||
| 28 | { | ||
