diff options
-rw-r--r-- | boost/UnpackedTarball_boost.mk | 1 | ||||
-rw-r--r-- | boost/boost.4100.warnings.patch | 19 |
2 files changed, 20 insertions, 0 deletions
diff --git a/boost/UnpackedTarball_boost.mk b/boost/UnpackedTarball_boost.mk index b7ebd67770ab..7dab6c0a85d2 100644 --- a/boost/UnpackedTarball_boost.mk +++ b/boost/UnpackedTarball_boost.mk @@ -26,6 +26,7 @@ boost_patches += boost.6397.warnings.patch boost_patches += boost.mipsbackport.patch #https://svn.boost.org/trac/boost/ticket/7551 boost_patches += boost.7551.unusedvars.patch +boost_patches += boost.4100.warnings.patch boost_patches += boost.windows.patch boost_patches += boost.vc2012.patch diff --git a/boost/boost.4100.warnings.patch b/boost/boost.4100.warnings.patch new file mode 100644 index 000000000000..ea475777c7f2 --- /dev/null +++ b/boost/boost.4100.warnings.patch @@ -0,0 +1,19 @@ +--- 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 |