summaryrefslogtreecommitdiffstats
path: root/src/testlib/qxctestlogger.mm
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-11-23 15:39:57 -0800
committerThiago Macieira <thiago.macieira@intel.com>2016-11-27 02:31:12 +0000
commit40c9e9dc5f31a4063a71e90208b5bf976977b054 (patch)
tree382588a52e086650a349cab2b2e9abe90759a9b9 /src/testlib/qxctestlogger.mm
parentd34be3243419246d3b4966f6be8e345747723184 (diff)
Add a macros for disabling deprecated declaration warnings
This is the only warning we disable in a lot of places in Qt 5.8 source code. If other warnings become common, we can add macros for them too. Change-Id: Iaeecaffe26af4535b416fffd1489d1968e29c52a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/testlib/qxctestlogger.mm')
-rw-r--r--src/testlib/qxctestlogger.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qxctestlogger.mm b/src/testlib/qxctestlogger.mm
index ffabe88db2..62fd73070f 100644
--- a/src/testlib/qxctestlogger.mm
+++ b/src/testlib/qxctestlogger.mm
@@ -66,7 +66,7 @@
QT_WARNING_PUSH
// Ignore XCTestProbe deprecation
-QT_WARNING_DISABLE_GCC("-Wdeprecated-declarations")
+QT_WARNING_DISABLE_DEPRECATED
// ---------------------------------------------------------