From 79de60f38b36ec06b343c91f2301030259352425 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 13 May 2015 20:23:04 +0200 Subject: [PATCH] silence MSVC warnings about using TS() without parameters Change-Id: I23264dcabc02b89441fa47c890fc662e9a41f7ce Reviewed-by: Joerg Bornemann --- tests/auto/tools/qmakelib/tst_qmakelib.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/auto/tools/qmakelib/tst_qmakelib.cpp b/tests/auto/tools/qmakelib/tst_qmakelib.cpp index 1c6d43338d0..0667b673000 100644 --- a/tests/auto/tools/qmakelib/tst_qmakelib.cpp +++ b/tests/auto/tools/qmakelib/tst_qmakelib.cpp @@ -228,6 +228,9 @@ private: #define S(s) ProString(QString::fromWCharArray(s)) #define HS(s) ProKey(QString::fromWCharArray(s)) +QT_WARNING_PUSH +QT_WARNING_DISABLE_MSVC(4003) // "not enough actual parameters for macro TS()" + void tst_qmakelib::proParser_data() { QTest::addColumn("in"); @@ -2068,6 +2071,8 @@ void tst_qmakelib::proParser_data() << false; } +QT_WARNING_POP + void tst_qmakelib::proParser() { QFETCH(QString, in);