Ticket #1868: Spirit2Unref.patch

File Spirit2Unref.patch, 6.0 KB (added by Richard Webb <richard.webb@…>, 14 years ago)
  • home/karma/numeric/detail/numeric_utils.hpp

     
    530530        ///////////////////////////////////////////////////////////////////////
    531531        //  This is the workhorse behind the real generator
    532532        ///////////////////////////////////////////////////////////////////////
     533#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     534# pragma warning(push)
     535# pragma warning(disable : 4100)//'p' : unreferenced formal parameter
     536#endif
     537
    533538        template <typename OutputIterator, typename U>
    534539        static bool
    535540        call_n (OutputIterator& sink, U n, RealPolicies const& p)
     
    617622            }
    618623            return r;
    619624        }
     625#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     626# pragma warning(pop)
     627#endif
     628
    620629    };
    621630
    622631}}}
  • home/lex/lexer/lexertl/lexertl_functor.hpp

     
    354354       
    355355        // we don't need this, but it must be there
    356356        template <typename MultiPass>
    357         static void destroy(MultiPass const& mp)
     357        static void destroy(MultiPass const& /*mp*/)
    358358        {} 
    359359    };
    360360
  • home/qi/auxiliary/primitives.hpp

     
    3232          , typename Iterator, typename Context
    3333          , typename Skipper, typename Attribute>
    3434        static bool parse(
    35             Component const& component
     35            Component const& /*component*/
    3636          , Iterator& first, Iterator const& last
    37           , Context& context, Skipper const& skipper
    38           , Attribute& attr)
     37          , Context& /*context*/, Skipper const& skipper
     38          , Attribute& /*attr*/)
    3939        {
    4040            qi::skip(first, last, skipper);
    4141            return Parser::test(first, last);
     
    6666          , typename Iterator, typename Context
    6767          , typename Skipper, typename Attribute>
    6868        static bool parse(
    69             Component const& component
     69            Component const& /*component*/
    7070          , Iterator& first, Iterator const& last
    71           , Context& context, Skipper const& skipper
    72           , Attribute& attr)
     71          , Context& /*context*/, Skipper const& skipper
     72          , Attribute& /*attr*/)
    7373        {
    7474            qi::skip(first, last, skipper);
    7575
  • home/qi/numeric/detail/real_impl.hpp

     
    7373        }
    7474    }
    7575
     76#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     77# pragma warning(push)
     78# pragma warning(disable : 4100)//'p' : unreferenced formal parameter
     79#endif
     80
    7681    template <typename T, typename RealPolicies>
    7782    struct real_impl
    7883    {
     
    209214            return true;
    210215        }
    211216    };
     217
     218#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     219# pragma warning(pop)
     220#endif
     221
    212222}}}}
    213223
    214224#endif
  • home/qi/skip.hpp

     
    2626    }
    2727
    2828    template <typename Iterator>
    29     inline void skip(Iterator& first, Iterator const& last, unused_type)
     29    inline void skip(Iterator& /*first*/, Iterator const& /*last*/, unused_type)
    3030    {
    3131    }
    3232}}}
  • home/support/detail/action_dispatch.hpp

     
    5353    template <typename RT, typename A0
    5454      , typename Attribute, typename Context>
    5555    bool action_dispatch(RT(*f)(A0)
    56       , Attribute& attr, Context& context)
     56      , Attribute& attr, Context& /*context*/)
    5757    {
    5858        f(attr);
    5959        return true;
  • home/support/detail/hold_any.hpp

     
    2626#include <algorithm>
    2727#include <iosfwd>
    2828
     29#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     30# pragma warning(push)
     31# pragma warning(disable : 4100)//'x' : unreferenced formal parameter
     32#endif
     33
    2934///////////////////////////////////////////////////////////////////////////////
    3035namespace boost { namespace spirit
    3136{
     
    409414
    410415}}
    411416
     417#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     418# pragma warning(pop)
    412419#endif
     420
     421#endif
  • home/support/iterators/detail/ref_counted_policy.hpp

     
    2525        ///////////////////////////////////////////////////////////////////////
    2626        struct unique // : detail::default_ownership_policy
    2727        {
    28             void swap(unique& x) {}
     28            void swap(unique& /*x*/) {}
    2929
    3030            // clone is called when a copy of the iterator is made, so
    3131            // increment the ref-count.
  • home/support/iterators/detail/split_std_deque_policy.hpp

     
    145145            }
    146146           
    147147            template <typename MultiPass>
    148             static void destroy(MultiPass& mp)
     148            static void destroy(MultiPass& /*mp*/)
    149149            {}
    150150
    151151        protected: