diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-10-24 16:04:33 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-10-24 16:05:49 +0200 |
commit | 0b9ebd78778baf241cd08457e1abbe07c73c5f80 (patch) | |
tree | b9fbfa8ffe4fd7d12e54f87519deb863b21f59ce /boost/boost.4100.warnings.patch | |
parent | PasswordContainer::allowPersistentStoring: fix warning C4805 (diff) | |
download | core-0b9ebd78778baf241cd08457e1abbe07c73c5f80.tar.gz core-0b9ebd78778baf241cd08457e1abbe07c73c5f80.zip |
boost: disable spurious MSVC warning C4100 in msvc.hpp
It warns that "x" is unreferenced formal parameter in
virtual void failed(Model *x) { x->~Model(); }
Change-Id: I10a4e1f037726f0225c2c6bf4ee23d5fb2accf7d
Diffstat (limited to 'boost/boost.4100.warnings.patch')
-rw-r--r-- | boost/boost.4100.warnings.patch | 19 |
1 files changed, 19 insertions, 0 deletions
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 |