summaryrefslogtreecommitdiff
path: root/sdext/source/pdfimport/pdfparse
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2018-02-15 20:24:11 +0100
committerMichael Stahl <mstahl@redhat.com>2018-02-15 20:25:04 +0100
commitebbae6a1f5e183953baac8e9a9d5b0bd2f333fbe (patch)
treed2891fbb96bd2800a1e80bf0aed5b407d3c83a9e /sdext/source/pdfimport/pdfparse
parent380da094b0ad765b80c353a6b6d2a1aa6a003f6a (diff)
sdext: MSVC 2015 is trash
Change-Id: I8549b52417520c0fe52977137fc570d65b0800fc
Diffstat (limited to 'sdext/source/pdfimport/pdfparse')
-rw-r--r--sdext/source/pdfimport/pdfparse/pdfparse.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
index 5d69d767aa97..e8636a4a2dab 100644
--- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx
+++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx
@@ -21,10 +21,9 @@
#include <pdfparse.hxx>
// boost using obsolete stuff
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && _MSC_VER >= 1900
#pragma warning(push)
#pragma warning(disable:4996)
-#pragma warning(disable:4503)
#endif
// workaround windows compiler: do not include multi_pass.hpp
@@ -678,9 +677,8 @@ PDFEntry* PDFReader::read( const char* pFileName )
#endif // WIN32
}
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && _MSC_VER >= 1900
#pragma warning(pop)
#endif
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */