office-gobmx/external/boost/boost.4100.warnings.patch
Khaled Hosny 174e24ffff fdo#70393: move boost to a subdir of external
Change-Id: Ib6aa36e296dfc1237463c4257f7ea1bd1fe72a1b
Reviewed-on: https://gerrit.libreoffice.org/6282
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-10-17 10:39:39 +00:00

19 lines
447 B
Diff

--- misc/boost_1_44_0/boost/concept/detail/msvc.hpp
+++ misc/build/boost_1_44_0/boost/concept/detail/msvc.hpp
@@ -12,6 +12,9 @@
# include <boost/mpl/if.hpp>
# endif
+// disable spurious "unreferenced formal parameter" warnings
+#pragma warning( push )
+#pragma warning( disable: 4100 )
namespace boost { namespace concepts {
@@ -111,4 +114,6 @@
# endif
}}
+#pragma warning( pop )
+
#endif // BOOST_CONCEPT_CHECK_MSVC_DWA2006429_HPP