summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-05-16 02:45:54 +0300
committerAhmad Samir <a.samirh78@gmail.com>2023-05-18 22:39:16 +0300
commita2abca317a0bd19056f1cc8ab794cfc3beec01c3 (patch)
tree11de12dfcea394712fd3aba32507d9b60d4d64d9 /tests
parent5b6f59d6e722b8e7473bcb82ea37584376d70c9f (diff)
Moc: silence a GCC warning
It's already silenced for Clang, extend it to cover GCC too. Change-Id: I212ca78d7a203d69d490c46e7ef4b78a60cabd80 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/tools/moc/backslash-newlines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/tools/moc/backslash-newlines.h b/tests/auto/tools/moc/backslash-newlines.h
index 899cb5d2fa..63ab00f8a9 100644
--- a/tests/auto/tools/moc/backslash-newlines.h
+++ b/tests/auto/tools/moc/backslash-newlines.h
@@ -30,6 +30,7 @@ public slots:
QT_WARNING_PUSH
QT_WARNING_DISABLE_CLANG("-Wcomment")
+QT_WARNING_DISABLE_GCC("-Wcomment")
// ends with \\\r should not make moc crash (QTBUG-53441) (no new lines on purpose!!) \