office-gobmx/external/boost/boost.concept_check.C4100.warnings.patch
Michael Stahl 38f77cf690 boost: rename misleading boost.{4100,4510}.warnings.patch
Change-Id: I7c9cf801f5ce0a16adf6eef7fc5697cfc6c0c194
2014-04-14 17:42:25 +02: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