summaryrefslogtreecommitdiff
path: root/odk
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-03 23:14:11 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-03 23:14:11 +0100
commitfa836cab8d3a300e196c7f1b0990098567f7cd62 (patch)
tree81077dfc864dba31c0c6aa1a408feb131df3cb0f /odk
parentabc22a091c27b92c5b20964375098faa11d3546e (diff)
odk: disable MSVC warning C4996
Change-Id: I6c2dab3b427121366bb2d39b95262311286ae371
Diffstat (limited to 'odk')
-rw-r--r--odk/qa/checkapi/checkapi.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/odk/qa/checkapi/checkapi.cxx b/odk/qa/checkapi/checkapi.cxx
index 29ec390327ec..67e11c6b2ea6 100644
--- a/odk/qa/checkapi/checkapi.cxx
+++ b/odk/qa/checkapi/checkapi.cxx
@@ -29,6 +29,11 @@
// This module contains no tests, this is for the build system.
#include <cppunit/plugin/TestPlugIn.h>
+#ifdef _MSC_VER
+// deprecation warnings do not matter here
+#pragma warning (disable : 4996)
+#endif
+
#include "allheaders.hxx"
CPPUNIT_PLUGIN_IMPLEMENT();