Index: home/karma/numeric/detail/numeric_utils.hpp =================================================================== --- home/karma/numeric/detail/numeric_utils.hpp (revision 44774) +++ home/karma/numeric/detail/numeric_utils.hpp (working copy) @@ -530,6 +530,11 @@ /////////////////////////////////////////////////////////////////////// // This is the workhorse behind the real generator /////////////////////////////////////////////////////////////////////// +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +# pragma warning(push) +# pragma warning(disable : 4100)//'p' : unreferenced formal parameter +#endif + template static bool call_n (OutputIterator& sink, U n, RealPolicies const& p) @@ -617,6 +622,10 @@ } return r; } +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +# pragma warning(pop) +#endif + }; }}} Index: home/lex/lexer/lexertl/lexertl_functor.hpp =================================================================== --- home/lex/lexer/lexertl/lexertl_functor.hpp (revision 44774) +++ home/lex/lexer/lexertl/lexertl_functor.hpp (working copy) @@ -354,7 +354,7 @@ // we don't need this, but it must be there template - static void destroy(MultiPass const& mp) + static void destroy(MultiPass const& /*mp*/) {} }; Index: home/qi/auxiliary/primitives.hpp =================================================================== --- home/qi/auxiliary/primitives.hpp (revision 44774) +++ home/qi/auxiliary/primitives.hpp (working copy) @@ -32,10 +32,10 @@ , typename Iterator, typename Context , typename Skipper, typename Attribute> static bool parse( - Component const& component + Component const& /*component*/ , Iterator& first, Iterator const& last - , Context& context, Skipper const& skipper - , Attribute& attr) + , Context& /*context*/, Skipper const& skipper + , Attribute& /*attr*/) { qi::skip(first, last, skipper); return Parser::test(first, last); @@ -66,10 +66,10 @@ , typename Iterator, typename Context , typename Skipper, typename Attribute> static bool parse( - Component const& component + Component const& /*component*/ , Iterator& first, Iterator const& last - , Context& context, Skipper const& skipper - , Attribute& attr) + , Context& /*context*/, Skipper const& skipper + , Attribute& /*attr*/) { qi::skip(first, last, skipper); Index: home/qi/numeric/detail/real_impl.hpp =================================================================== --- home/qi/numeric/detail/real_impl.hpp (revision 44774) +++ home/qi/numeric/detail/real_impl.hpp (working copy) @@ -73,6 +73,11 @@ } } +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +# pragma warning(push) +# pragma warning(disable : 4100)//'p' : unreferenced formal parameter +#endif + template struct real_impl { @@ -209,6 +214,11 @@ return true; } }; + +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +# pragma warning(pop) +#endif + }}}} #endif Index: home/qi/skip.hpp =================================================================== --- home/qi/skip.hpp (revision 44774) +++ home/qi/skip.hpp (working copy) @@ -26,7 +26,7 @@ } template - inline void skip(Iterator& first, Iterator const& last, unused_type) + inline void skip(Iterator& /*first*/, Iterator const& /*last*/, unused_type) { } }}} Index: home/support/detail/action_dispatch.hpp =================================================================== --- home/support/detail/action_dispatch.hpp (revision 44774) +++ home/support/detail/action_dispatch.hpp (working copy) @@ -53,7 +53,7 @@ template bool action_dispatch(RT(*f)(A0) - , Attribute& attr, Context& context) + , Attribute& attr, Context& /*context*/) { f(attr); return true; Index: home/support/detail/hold_any.hpp =================================================================== --- home/support/detail/hold_any.hpp (revision 44774) +++ home/support/detail/hold_any.hpp (working copy) @@ -26,6 +26,11 @@ #include #include +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +# pragma warning(push) +# pragma warning(disable : 4100)//'x' : unreferenced formal parameter +#endif + /////////////////////////////////////////////////////////////////////////////// namespace boost { namespace spirit { @@ -409,4 +414,8 @@ }} +#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) +# pragma warning(pop) #endif + +#endif Index: home/support/iterators/detail/ref_counted_policy.hpp =================================================================== --- home/support/iterators/detail/ref_counted_policy.hpp (revision 44774) +++ home/support/iterators/detail/ref_counted_policy.hpp (working copy) @@ -25,7 +25,7 @@ /////////////////////////////////////////////////////////////////////// struct unique // : detail::default_ownership_policy { - void swap(unique& x) {} + void swap(unique& /*x*/) {} // clone is called when a copy of the iterator is made, so // increment the ref-count. Index: home/support/iterators/detail/split_std_deque_policy.hpp =================================================================== --- home/support/iterators/detail/split_std_deque_policy.hpp (revision 44774) +++ home/support/iterators/detail/split_std_deque_policy.hpp (working copy) @@ -145,7 +145,7 @@ } template - static void destroy(MultiPass& mp) + static void destroy(MultiPass& /*mp*/) {} protected: