diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-05-13 20:23:04 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2015-05-20 18:11:03 +0000 |
commit | 79de60f38b36ec06b343c91f2301030259352425 (patch) | |
tree | dd5b5f58a209dad42fa54b1c1a40c5b920fb6a2a /tests/auto/tools | |
parent | 9269dcc8ed9839c403f4f88edd79d0b8f0945d4a (diff) |
silence MSVC warnings about using TS() without parameters
Change-Id: I23264dcabc02b89441fa47c890fc662e9a41f7ce
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'tests/auto/tools')
-rw-r--r-- | tests/auto/tools/qmakelib/tst_qmakelib.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/tools/qmakelib/tst_qmakelib.cpp b/tests/auto/tools/qmakelib/tst_qmakelib.cpp index 1c6d43338d..0667b67300 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<QString>("in"); @@ -2068,6 +2071,8 @@ void tst_qmakelib::proParser_data() << false; } +QT_WARNING_POP + void tst_qmakelib::proParser() { QFETCH(QString, in); |