external/boost/boost.wdeprecated-auto_ptr.patch.0 | 46 ++++++++++++++++++++++ sd/CppunitTest_sd_misc_tests.mk | 19 --------- sw/source/filter/ww8/docxexport.cxx | 10 ++-- 3 files changed, 51 insertions(+), 24 deletions(-)
New commits: commit 39d0bd194dac13ea9bcf6c0e7e6a65cf6bbc723b Author: Michael Stahl <mst...@redhat.com> Date: Tue Dec 15 17:50:06 2015 +0100 sd: remove cargo-culted dependencies from CppunitTest_sd_misc_tests Change-Id: I9f11bbc1f16a79eac3621f2233b047826637b33d diff --git a/sd/CppunitTest_sd_misc_tests.mk b/sd/CppunitTest_sd_misc_tests.mk index a01eceb..f95801c 100644 --- a/sd/CppunitTest_sd_misc_tests.mk +++ b/sd/CppunitTest_sd_misc_tests.mk @@ -67,22 +67,8 @@ $(eval $(call gb_CppunitTest_use_api,sd_misc_tests,\ udkapi \ )) -ifeq ($(OS),WNT) -$(eval $(call gb_CppunitTest_use_system_win32_libs,sd_misc_tests,\ - uuid \ - ws2_32 \ -)) -endif - $(eval $(call gb_CppunitTest_use_externals,sd_misc_tests,\ boost_headers \ - gtk \ - dbus \ - $(if $(ENABLE_AVAHI), \ - avahi \ - ) \ - $(if $(filter WNT,$(OS)),mDNSResponder) \ - libxml2 \ )) $(eval $(call gb_CppunitTest_use_ure,sd_misc_tests)) @@ -134,11 +120,6 @@ $(eval $(call gb_CppunitTest_use_components,sd_misc_tests,\ $(eval $(call gb_CppunitTest_use_configuration,sd_misc_tests)) -$(eval $(call gb_CppunitTest_use_packages,sd_misc_tests,\ - oox_customshapes \ -)) - - $(call gb_CppunitTest_get_target,sd_misc_tests) : $(call gb_AllLangResTarget_get_target,sd) # vim: set noet sw=4 ts=4: commit d8fb3ed5fa47afa1f3e31d4211bfe0a477641c94 Author: Michael Stahl <mst...@redhat.com> Date: Tue Dec 15 20:16:15 2015 +0100 boost: suppress auto_ptr deprecation warnings in boost::spirit Apparently GCC 5.3.1 has turned these annoyances into actual warnings that convert to errors with -Werror. Change-Id: Ib1567b3fc2cf33a0f6cffac116a06d73912b84df diff --git a/external/boost/boost.wdeprecated-auto_ptr.patch.0 b/external/boost/boost.wdeprecated-auto_ptr.patch.0 index 860840d..b02af6d 100644 --- a/external/boost/boost.wdeprecated-auto_ptr.patch.0 +++ b/external/boost/boost.wdeprecated-auto_ptr.patch.0 @@ -189,3 +189,49 @@ diff -ru boost.orig/boost/smart_ptr/shared_ptr.hpp boost/boost/smart_ptr/shared_ +#endif + #endif // #ifndef BOOST_SMART_PTR_SHARED_PTR_HPP_INCLUDED +--- boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp.orig2 2015-12-15 18:24:31.318854561 +0100 ++++ boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp 2015-12-15 18:26:19.804853629 +0100 +@@ -11,6 +11,11 @@ + #if !defined BOOST_SPIRIT_GRAMMAR_IPP + #define BOOST_SPIRIT_GRAMMAR_IPP + ++#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) ++# pragma GCC diagnostic push ++# pragma GCC diagnostic ignored "-Wdeprecated-declarations" ++#endif ++ + #if !defined(BOOST_SPIRIT_SINGLE_GRAMMAR_INSTANCE) + #include <boost/spirit/home/classic/core/non_terminal/impl/object_with_id.ipp> + #include <algorithm> +@@ -368,4 +373,8 @@ + + }} // namespace boost::spirit + ++#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) ++# pragma GCC diagnostic pop ++#endif ++ + #endif +--- boost/spirit/home/classic/symbols/impl/tst.ipp.orig 2015-12-15 19:08:48.978831726 +0100 ++++ boost/spirit/home/classic/symbols/impl/tst.ipp 2015-12-15 19:09:35.064831330 +0100 +@@ -9,6 +9,11 @@ + #ifndef BOOST_SPIRIT_TST_IPP + #define BOOST_SPIRIT_TST_IPP + ++#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) ++# pragma GCC diagnostic push ++# pragma GCC diagnostic ignored "-Wdeprecated-declarations" ++#endif ++ + /////////////////////////////////////////////////////////////////////////////// + #include <memory> // for std::auto_ptr + #include <boost/spirit/home/classic/core/assert.hpp> +@@ -278,4 +283,8 @@ + + }} // namespace boost::spirit + ++#if defined(__GNUC__) && ((__GNUC__*100 + __GNUC_MINOR__) >= 406) || defined(__clang__) ++# pragma GCC diagnostic pop ++#endif ++ + #endif commit 159e78791ba40d76ba0d8af6abbd7d629eb6dd85 Author: Michael Stahl <mst...@redhat.com> Date: Tue Dec 15 20:11:10 2015 +0100 sw: fix MSVC build, stupid thing can't initialize const members Change-Id: I546b96a5628d2ad186b5b626cce28f67841db157 diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx index 43a57ab..d2c05c4 100644 --- a/sw/source/filter/ww8/docxexport.cxx +++ b/sw/source/filter/ww8/docxexport.cxx @@ -476,11 +476,11 @@ static uno::Reference<io::XInputStream> lcl_StoreOwnAsOOXML( sal_uInt32 n1; sal_uInt16 n2, n3; sal_uInt8 b8, b9, b10, b11, b12, b13, b14, b15; - } const ClassId; - char const*const pFilterName; - char const*const pMediaType; - char const*const pProgID; - char const*const pSuffix; + } ClassId; + char const* pFilterName; + char const* pMediaType; + char const* pProgID; + char const* pSuffix; } s_Mapping[] = { { {SO3_SW_CLASSID_60}, "MS Word 2007 XML", "application/vnd.openxmlformats-officedocument.wordprocessingml.document", "Word.Document.12", "docx" }, { {SO3_SC_CLASSID_60}, "Calc MS Excel 2007 XML", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet", "Excel.Sheet.12", "xlsx" }, _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits