From a8ea79b10bfc4851d092270f02fa8c817c9bc0d9 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 14 Feb 2018 20:49:21 +0100 Subject: sdext: disable MSVC 2017 warnings from boost headers Change-Id: I6eb816f155a222ca4299fd425c79d38bf2d464dc --- sdext/source/pdfimport/pdfparse/pdfparse.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'sdext') diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx index e5350d26745d..a13b44b0a371 100644 --- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx @@ -20,12 +20,23 @@ #include +// boost using obsolete stuff +#if defined(_MSC_VER) +#pragma warning(push) +#pragma warning(disable:4996) +#endif + // workaround windows compiler: do not include multi_pass.hpp #include #include #include #include #include + +#if defined(_MSC_VER) +#pragma warning(pop) +#endif + #include #include -- cgit