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!!) \