Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70657 - in branches/release: . boost boost/algorithm/string boost/archive boost/bimap boost/config boost/detail boost/filesystem boost/function boost/functional boost/functional/hash boost/fusion boost/fusion/container/list/detail boost/gil boost/graph boost/icl boost/integer boost/interprocess boost/intrusive boost/io boost/iostreams boost/iterator boost/math boost/msm boost/numeric/ublas boost/pool boost/program_options boost/program_options/detail boost/property_tree boost/python boost/range boost/regex boost/serialization boost/signals boost/signals2 boost/spirit boost/spirit/home boost/spirit/home/karma boost/spirit/home/karma/binary boost/spirit/home/karma/char boost/spirit/home/karma/detail boost/spirit/home/karma/nonterminal boost/spirit/home/karma/operator boost/spirit/home/karma/string boost/spirit/home/lex/lexer/lexertl boost/spirit/home/qi/detail boost/spirit/home/qi/nonterminal boost/spirit/home/support boost/spirit/home/support/iterators/detail boost/spirit/home/support/utree boost/spirit/home/support/utree/detail boost/statechart boost/system boost/thread boost/tr1 boost/type_traits boost/typeof boost/unordered boost/utility boost/uuid boost/variant boost/wave doc libs libs/algorithm/string libs/array libs/array/doc libs/array/test libs/bimap libs/config libs/date_time libs/filesystem libs/function libs/functional libs/functional/hash libs/fusion libs/graph_parallel libs/icl libs/icl/doc libs/icl/doc/html libs/icl/doc/html/header/boost/icl libs/icl/test libs/icl/test/test_doc_code_ libs/integer libs/interprocess libs/intrusive libs/io libs/io/doc libs/iostreams libs/math libs/math/doc/sf_and_dist libs/math/doc/sf_and_dist/html/math_toolkit/main_overview libs/mpi/build libs/mpl/doc/refmanual libs/mpl/doc/src/refmanual libs/msm libs/numeric/ublas libs/numeric/ublas/doc libs/parameter/doc/html libs/pool libs/program_options libs/program_options/test libs/property_tree libs/python libs/range libs/regex libs/serialization libs/serialization/doc libs/serialization/example libs/serialization/src libs/serialization/test libs/serialization/vc7ide libs/signals libs/signals2 libs/spirit libs/spirit/classic/example libs/spirit/doc libs/spirit/doc/advanced libs/spirit/example libs/spirit/phoenix libs/spirit/test libs/spirit/test/karma libs/spirit/test/lex libs/spirit/test/qi libs/spirit/test/support libs/statechart libs/static_assert libs/system libs/thread libs/timer libs/tr1 libs/type_traits libs/type_traits/doc libs/typeof/doc libs/units/test libs/unordered libs/utility libs/utility/swap/test libs/uuid libs/wave more status tools tools/bcp tools/boostbook tools/build/v2 tools/inspect tools/quickbook tools/quickbook/doc tools/quickbook/src tools/quickbook/test tools/regression tools/regression/src tools/release tools/wave
From: hartmut.kaiser_at_[hidden]
Date: 2011-03-27 22:48:02


Author: hkaiser
Date: 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
New Revision: 70657
URL: http://svn.boost.org/trac/boost/changeset/70657

Log:
Spirit: merging from trunk (70605, 70638, 70655)
Properties modified:
   branches/release/ (props changed)
   branches/release/INSTALL (props changed)
   branches/release/Jamroot (props changed)
   branches/release/LICENSE_1_0.txt (props changed)
   branches/release/boost/ (props changed)
   branches/release/boost-build.jam (props changed)
   branches/release/boost.css (props changed)
   branches/release/boost.png (props changed)
   branches/release/boost/algorithm/string/ (props changed)
   branches/release/boost/archive/ (props changed)
   branches/release/boost/archive/basic_binary_iarchive.hpp (props changed)
   branches/release/boost/array.hpp (props changed)
   branches/release/boost/bimap/ (props changed)
   branches/release/boost/concept_check.hpp (props changed)
   branches/release/boost/config/ (props changed)
   branches/release/boost/config.hpp (props changed)
   branches/release/boost/detail/ (props changed)
   branches/release/boost/detail/endian.hpp (props changed)
   branches/release/boost/filesystem/ (props changed)
   branches/release/boost/filesystem.hpp (props changed)
   branches/release/boost/function/ (props changed)
   branches/release/boost/functional/ (props changed)
   branches/release/boost/functional/hash/ (props changed)
   branches/release/boost/fusion/ (props changed)
   branches/release/boost/fusion/container/list/detail/build_cons.hpp (props changed)
   branches/release/boost/gil/ (props changed)
   branches/release/boost/graph/ (props changed)
   branches/release/boost/icl/ (props changed)
   branches/release/boost/integer/ (props changed)
   branches/release/boost/interprocess/ (props changed)
   branches/release/boost/intrusive/ (props changed)
   branches/release/boost/io/ (props changed)
   branches/release/boost/iostreams/ (props changed)
   branches/release/boost/iterator/iterator_facade.hpp (props changed)
   branches/release/boost/math/ (props changed)
   branches/release/boost/math_fwd.hpp (props changed)
   branches/release/boost/msm/ (props changed)
   branches/release/boost/numeric/ublas/ (props changed)
   branches/release/boost/numeric/ublas/functional.hpp (props changed)
   branches/release/boost/pool/ (props changed)
   branches/release/boost/program_options/ (props changed)
   branches/release/boost/program_options/detail/parsers.hpp (props changed)
   branches/release/boost/program_options/parsers.hpp (props changed)
   branches/release/boost/property_tree/ (props changed)
   branches/release/boost/python/ (props changed)
   branches/release/boost/range/ (props changed)
   branches/release/boost/regex/ (props changed)
   branches/release/boost/serialization/ (props changed)
   branches/release/boost/signals/ (props changed)
   branches/release/boost/signals2/ (props changed)
   branches/release/boost/signals2.hpp (props changed)
   branches/release/boost/spirit/ (props changed)
   branches/release/boost/spirit/home/ (props changed)
   branches/release/boost/spirit/home/karma/ (props changed)
   branches/release/boost/spirit/home/support/attributes.hpp (contents, props changed)
   branches/release/boost/statechart/ (props changed)
   branches/release/boost/static_assert.hpp (props changed)
   branches/release/boost/system/ (props changed)
   branches/release/boost/thread/ (props changed)
   branches/release/boost/thread.hpp (props changed)
   branches/release/boost/token_functions.hpp (props changed)
   branches/release/boost/tr1/ (props changed)
   branches/release/boost/type_traits/ (props changed)
   branches/release/boost/typeof/message.hpp (props changed)
   branches/release/boost/typeof/register_functions.hpp (props changed)
   branches/release/boost/typeof/register_functions_iterate.hpp (props changed)
   branches/release/boost/typeof/typeof.hpp (props changed)
   branches/release/boost/typeof/unsupported.hpp (props changed)
   branches/release/boost/unordered/ (props changed)
   branches/release/boost/utility/ (props changed)
   branches/release/boost/utility/value_init.hpp (props changed)
   branches/release/boost/uuid/ (props changed)
   branches/release/boost/variant/ (props changed)
   branches/release/boost/version.hpp (props changed)
   branches/release/boost/wave/ (props changed)
   branches/release/bootstrap.bat (props changed)
   branches/release/bootstrap.sh (props changed)
   branches/release/doc/ (props changed)
   branches/release/index.htm (props changed)
   branches/release/index.html (props changed)
   branches/release/libs/ (props changed)
   branches/release/libs/algorithm/string/ (props changed)
   branches/release/libs/array/ (props changed)
   branches/release/libs/array/doc/array.xml (props changed)
   branches/release/libs/array/test/Jamfile.v2 (props changed)
   branches/release/libs/array/test/array0.cpp (props changed)
   branches/release/libs/array/test/array2.cpp (props changed)
   branches/release/libs/array/test/array6.cpp (props changed)
   branches/release/libs/bimap/ (props changed)
   branches/release/libs/config/ (props changed)
   branches/release/libs/date_time/ (props changed)
   branches/release/libs/filesystem/ (props changed)
   branches/release/libs/function/ (props changed)
   branches/release/libs/functional/ (props changed)
   branches/release/libs/functional/hash/ (props changed)
   branches/release/libs/fusion/ (props changed)
   branches/release/libs/graph_parallel/ (props changed)
   branches/release/libs/icl/ (props changed)
   branches/release/libs/icl/doc/ (props changed)
   branches/release/libs/icl/doc/html/ (props changed)
   branches/release/libs/icl/doc/html/header/boost/icl/ (props changed)
   branches/release/libs/icl/test/ (props changed)
   branches/release/libs/icl/test/test_doc_code_/ (props changed)
   branches/release/libs/integer/ (props changed)
   branches/release/libs/interprocess/ (props changed)
   branches/release/libs/intrusive/ (props changed)
   branches/release/libs/io/ (props changed)
   branches/release/libs/io/doc/ (props changed)
   branches/release/libs/iostreams/ (props changed)
   branches/release/libs/libraries.htm (props changed)
   branches/release/libs/maintainers.txt (props changed)
   branches/release/libs/math/ (props changed)
   branches/release/libs/math/doc/sf_and_dist/faq.qbk (props changed)
   branches/release/libs/math/doc/sf_and_dist/html/math_toolkit/main_overview/faq.html (props changed)
   branches/release/libs/mpi/build/ (props changed)
   branches/release/libs/mpl/doc/refmanual/broken-compiler-workarounds.html (props changed)
   branches/release/libs/mpl/doc/refmanual/categorized-index-concepts.html (props changed)
   branches/release/libs/mpl/doc/refmanual/cfg-no-preprocessed-headers.html (props changed)
   branches/release/libs/mpl/doc/refmanual/composition-and-argument-binding.html (props changed)
   branches/release/libs/mpl/doc/refmanual/data-types-concepts.html (props changed)
   branches/release/libs/mpl/doc/refmanual/data-types-miscellaneous.html (props changed)
   branches/release/libs/mpl/doc/refmanual/extensible-associative-sequence.html (props changed)
   branches/release/libs/mpl/doc/refmanual/inserter-class.html (props changed)
   branches/release/libs/mpl/doc/refmanual/tag-dispatched-metafunction.html (props changed)
   branches/release/libs/mpl/doc/refmanual/trivial-metafunctions-summary.html (props changed)
   branches/release/libs/mpl/doc/src/refmanual/Iterators-Iterator.rst (props changed)
   branches/release/libs/msm/ (props changed)
   branches/release/libs/numeric/ublas/ (props changed)
   branches/release/libs/numeric/ublas/doc/ (props changed)
   branches/release/libs/parameter/doc/html/index.html (props changed)
   branches/release/libs/pool/ (props changed)
   branches/release/libs/program_options/ (props changed)
   branches/release/libs/program_options/test/parsers_test.cpp (props changed)
   branches/release/libs/property_tree/ (props changed)
   branches/release/libs/python/ (props changed)
   branches/release/libs/range/ (props changed)
   branches/release/libs/regex/ (props changed)
   branches/release/libs/serialization/ (props changed)
   branches/release/libs/serialization/doc/ (props changed)
   branches/release/libs/serialization/example/ (props changed)
   branches/release/libs/serialization/src/ (props changed)
   branches/release/libs/serialization/test/test_diamond_complex.cpp (props changed)
   branches/release/libs/serialization/vc7ide/ (props changed)
   branches/release/libs/signals/ (props changed)
   branches/release/libs/signals2/ (props changed)
   branches/release/libs/spirit/ (props changed)
   branches/release/libs/spirit/classic/example/ (props changed)
   branches/release/libs/spirit/doc/ (props changed)
   branches/release/libs/spirit/example/ (props changed)
   branches/release/libs/spirit/phoenix/ (props changed)
   branches/release/libs/spirit/test/ (props changed)
   branches/release/libs/spirit/test/qi/optional.cpp (props changed)
   branches/release/libs/statechart/ (props changed)
   branches/release/libs/static_assert/ (props changed)
   branches/release/libs/system/ (props changed)
   branches/release/libs/thread/ (props changed)
   branches/release/libs/timer/ (props changed)
   branches/release/libs/tr1/ (props changed)
   branches/release/libs/type_traits/ (props changed)
   branches/release/libs/type_traits/doc/ (props changed)
   branches/release/libs/typeof/doc/typeof.qbk (props changed)
   branches/release/libs/units/test/ (props changed)
   branches/release/libs/unordered/ (props changed)
   branches/release/libs/utility/ (props changed)
   branches/release/libs/utility/assert.html (props changed)
   branches/release/libs/utility/assert_test.cpp (props changed)
   branches/release/libs/utility/swap.html (props changed)
   branches/release/libs/utility/swap/test/std_bitset.cpp (props changed)
   branches/release/libs/utility/value_init.htm (props changed)
   branches/release/libs/utility/value_init_test.cpp (props changed)
   branches/release/libs/uuid/ (props changed)
   branches/release/libs/wave/ (props changed)
   branches/release/more/ (props changed)
   branches/release/rst.css (props changed)
   branches/release/status/ (props changed)
   branches/release/status/Jamfile.v2 (props changed)
   branches/release/status/explicit-failures-markup.xml (props changed)
   branches/release/tools/ (props changed)
   branches/release/tools/bcp/ (props changed)
   branches/release/tools/boostbook/ (props changed)
   branches/release/tools/build/v2/ (props changed)
   branches/release/tools/inspect/ (props changed)
   branches/release/tools/quickbook/ (props changed)
   branches/release/tools/quickbook/doc/ (props changed)
   branches/release/tools/quickbook/src/ (props changed)
   branches/release/tools/quickbook/test/ (props changed)
   branches/release/tools/regression/ (props changed)
   branches/release/tools/regression/src/library_status.cpp (props changed)
   branches/release/tools/release/ (props changed)
   branches/release/tools/wave/ (props changed)
Text files modified:
   branches/release/boost/spirit/home/karma/binary/binary.hpp | 2
   branches/release/boost/spirit/home/karma/binary/padding.hpp | 2
   branches/release/boost/spirit/home/karma/char/char_class.hpp | 2
   branches/release/boost/spirit/home/karma/detail/extract_from.hpp | 8 ++--
   branches/release/boost/spirit/home/karma/detail/output_iterator.hpp | 2
   branches/release/boost/spirit/home/karma/detail/string_compare.hpp | 2
   branches/release/boost/spirit/home/karma/nonterminal/grammar.hpp | 2
   branches/release/boost/spirit/home/karma/nonterminal/simple_trace.hpp | 2
   branches/release/boost/spirit/home/karma/operator/plus.hpp | 4 +-
   branches/release/boost/spirit/home/karma/string/symbols.hpp | 4 +-
   branches/release/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp | 4 +-
   branches/release/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp | 2
   branches/release/boost/spirit/home/qi/detail/construct.hpp | 10 +++---
   branches/release/boost/spirit/home/qi/nonterminal/grammar.hpp | 2
   branches/release/boost/spirit/home/support/attributes.hpp | 12 +++++++-
   branches/release/boost/spirit/home/support/iterators/detail/functor_input_policy.hpp | 4 +-
   branches/release/boost/spirit/home/support/iterators/detail/istream_policy.hpp | 2
   branches/release/boost/spirit/home/support/utree/detail/utree_detail2.hpp | 8 ++--
   branches/release/boost/spirit/home/support/utree/operators.hpp | 56 ++++++++++++++++++++--------------------
   branches/release/boost/spirit/home/support/utree/utree.hpp | 2
   branches/release/boost/spirit/home/support/utree/utree_traits.hpp | 2
   branches/release/libs/spirit/doc/advanced/customization_points.qbk | 39 ++++++++++++++++++---------
   branches/release/libs/spirit/test/karma/regression_real_scientific.cpp | 2
   branches/release/libs/spirit/test/lex/string_token_id.cpp | 2
   branches/release/libs/spirit/test/qi/grammar.cpp | 2
   branches/release/libs/spirit/test/qi/regression_clear.cpp | 4 +-
   branches/release/libs/spirit/test/qi/regression_transform_assignment.cpp | 2
   branches/release/libs/spirit/test/support/regression_multi_pass_functor.cpp | 2
   28 files changed, 104 insertions(+), 83 deletions(-)

Modified: branches/release/boost/spirit/home/karma/binary/binary.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/binary/binary.hpp (original)
+++ branches/release/boost/spirit/home/karma/binary/binary.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -225,7 +225,7 @@
         // been initialized from a direct literal
         template <
             typename OutputIterator, typename Context, typename Delimiter>
- static bool generate(OutputIterator& sink, Context&, Delimiter const& d
+ static bool generate(OutputIterator&, Context&, Delimiter const&
           , unused_type)
         {
             // It is not possible (doesn't make sense) to use binary generators

Modified: branches/release/boost/spirit/home/karma/binary/padding.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/binary/padding.hpp (original)
+++ branches/release/boost/spirit/home/karma/binary/padding.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -85,7 +85,7 @@
         }
 
         template <typename Context>
- static info what(Context const& ctx)
+ static info what(Context const&)
         {
             return info("pad");
         }

Modified: branches/release/boost/spirit/home/karma/char/char_class.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/char/char_class.hpp (original)
+++ branches/release/boost/spirit/home/karma/char/char_class.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -93,7 +93,7 @@
 
         // char_class shouldn't be used without any associated attribute
         template <typename CharParam, typename Context>
- bool test(unused_type, CharParam& ch, Context&) const
+ bool test(unused_type, CharParam&, Context&) const
         {
             // It is not possible (doesn't make sense) to use char_ generators
             // without providing any attribute, as the generator doesn't 'know'

Modified: branches/release/boost/spirit/home/karma/detail/extract_from.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/detail/extract_from.hpp (original)
+++ branches/release/boost/spirit/home/karma/detail/extract_from.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -134,7 +134,7 @@
         // handle case where container value type is convertible to result type
         // we simply return the front element of the container
         template <typename Context, typename Pred>
- static type call(Attribute const& attr, Context& ctx, mpl::true_, Pred)
+ static type call(Attribute const& attr, Context&, mpl::true_, Pred)
         {
             // return first element from container
             typedef typename traits::container_iterator<Attribute const>::type
@@ -155,7 +155,7 @@
         }
 
         template <typename Context>
- static type call(Attribute const& attr, Context& ctx, mpl::false_, mpl::true_)
+ static type call(Attribute const& attr, Context&, mpl::false_, mpl::true_)
         {
             typedef typename char_type_of<Attribute>::type char_type;
 
@@ -167,7 +167,7 @@
 
         // everything else gets just passed through
         template <typename Context>
- static type call(Attribute const& attr, Context& ctx, mpl::false_, mpl::false_)
+ static type call(Attribute const& attr, Context&, mpl::false_, mpl::false_)
         {
             return type(attr);
         }
@@ -191,7 +191,7 @@
         typedef Attribute const& type;
 
         template <typename Context>
- static type call(Attribute const& attr, Context& ctx)
+ static type call(Attribute const& attr, Context&)
         {
             return attr;
         }

Modified: branches/release/boost/spirit/home/karma/detail/output_iterator.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/detail/output_iterator.hpp (original)
+++ branches/release/boost/spirit/home/karma/detail/output_iterator.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -599,7 +599,7 @@
 
     ///////////////////////////////////////////////////////////////////////////
     template <typename Sink>
- bool sink_is_good(Sink const& sink)
+ bool sink_is_good(Sink const&)
     {
         return true; // the general case is always good
     }

Modified: branches/release/boost/spirit/home/karma/detail/string_compare.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/detail/string_compare.hpp (original)
+++ branches/release/boost/spirit/home/karma/detail/string_compare.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -48,7 +48,7 @@
     }
 
     template <typename Char, typename CharEncoding, typename Tag>
- bool string_compare(Char const* attr, Char const* lit, CharEncoding ce, Tag tag)
+ bool string_compare(Char const* attr, Char const* lit, CharEncoding, Tag)
     {
         Char ch_attr = *attr;
         Char ch_lit = spirit::char_class::convert<CharEncoding>::to(Tag(), *lit);

Modified: branches/release/boost/spirit/home/karma/nonterminal/grammar.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/nonterminal/grammar.hpp (original)
+++ branches/release/boost/spirit/home/karma/nonterminal/grammar.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -99,7 +99,7 @@
         }
 
         template <typename Context>
- info what(Context& context) const
+ info what(Context&) const
         {
             return info(name_);
         }

Modified: branches/release/boost/spirit/home/karma/nonterminal/simple_trace.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/nonterminal/simple_trace.hpp (original)
+++ branches/release/boost/spirit/home/karma/nonterminal/simple_trace.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -64,7 +64,7 @@
         template <typename OutputIterator, typename Context, typename State
           , typename Buffer>
         void operator()(
- OutputIterator& sink, Context const& context
+ OutputIterator&, Context const& context
           , State state, std::string const& rule_name
           , Buffer const& buffer) const
         {

Modified: branches/release/boost/spirit/home/karma/operator/plus.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/operator/plus.hpp (original)
+++ branches/release/boost/spirit/home/karma/operator/plus.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -49,7 +49,7 @@
         // are just skipped). This allows to selectively generate items in
         // the provided attribute.
         template <typename F, typename Attribute>
- bool generate_subject(F f, Attribute const& attr, bool& result, mpl::false_) const
+ bool generate_subject(F f, Attribute const&, bool& result, mpl::false_) const
         {
             bool r = !f(subject);
             if (r)
@@ -60,7 +60,7 @@
         }
 
         template <typename F, typename Attribute>
- bool generate_subject(F f, Attribute const& attr, bool& result, mpl::true_) const
+ bool generate_subject(F f, Attribute const&, bool& result, mpl::true_) const
         {
             bool r = !f(subject);
             if (r)

Modified: branches/release/boost/spirit/home/karma/string/symbols.hpp
==============================================================================
--- branches/release/boost/spirit/home/karma/string/symbols.hpp (original)
+++ branches/release/boost/spirit/home/karma/string/symbols.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -115,7 +115,7 @@
 
         // not a container nor a fusion sequence
         template <typename T_>
- static type call(T_ const& t, mpl::false_, mpl::false_)
+ static type call(T_ const&, mpl::false_, mpl::false_)
         {
             return unused;
         }
@@ -309,7 +309,7 @@
         // non-const version needed to suppress proto's -= kicking in
         template <typename Attr>
         friend remover const&
- operator-= (symbols& sym, Attr& str)
+ operator-= (symbols& sym, Attr& attr)
         {
             return sym.remove(attr);
         }

Modified: branches/release/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp
==============================================================================
--- branches/release/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp (original)
+++ branches/release/boost/spirit/home/lex/lexer/lexertl/functor_data.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -93,7 +93,7 @@
             //
             // This function does nothing as long as no semantic actions are
             // used.
- Iterator const& less(Iterator const& it, int n)
+ Iterator const& less(Iterator const& it, int)
             {
                 // The following assertion fires most likely because you are
                 // using lexer semantic actions without using the actor_lexer
@@ -131,7 +131,7 @@
             //
             // This function does nothing as long as no semantic actions are
             // used.
- bool lookahead(std::size_t id, std::size_t state = std::size_t(~0))
+ bool lookahead(std::size_t, std::size_t /*state*/ = std::size_t(~0))
             {
                 // The following assertion fires most likely because you are
                 // using lexer semantic actions without using the actor_lexer

Modified: branches/release/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp
==============================================================================
--- branches/release/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp (original)
+++ branches/release/boost/spirit/home/lex/lexer/lexertl/generate_static.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -827,7 +827,7 @@
             return false;
 
         std::size_t const dfas_ = sm_.data()._dfa->size();
- std::size_t const lookups_ = sm_.data()._lookup->front()->size();
+// std::size_t const lookups_ = sm_.data()._lookup->front()->size();
 
         os_ << "// Copyright (c) 2008-2009 Ben Hanson\n";
         os_ << "// Copyright (c) 2008-2011 Hartmut Kaiser\n";

Modified: branches/release/boost/spirit/home/qi/detail/construct.hpp
==============================================================================
--- branches/release/boost/spirit/home/qi/detail/construct.hpp (original)
+++ branches/release/boost/spirit/home/qi/detail/construct.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -27,7 +27,7 @@
     struct assign_to_attribute_from_iterators<char, Iterator>
     {
         static void
- call(Iterator const& first, Iterator const& last, char& attr)
+ call(Iterator const& first, Iterator const&, char& attr)
         {
             attr = *first;
         }
@@ -37,7 +37,7 @@
     struct assign_to_attribute_from_iterators<signed char, Iterator>
     {
         static void
- call(Iterator const& first, Iterator const& last, signed char& attr)
+ call(Iterator const& first, Iterator const&, signed char& attr)
         {
             attr = *first;
         }
@@ -47,7 +47,7 @@
     struct assign_to_attribute_from_iterators<unsigned char, Iterator>
     {
         static void
- call(Iterator const& first, Iterator const& last, unsigned char& attr)
+ call(Iterator const& first, Iterator const&, unsigned char& attr)
         {
             attr = *first;
         }
@@ -58,7 +58,7 @@
     struct assign_to_attribute_from_iterators<wchar_t, Iterator>
     {
         static void
- call(Iterator const& first, Iterator const& last, wchar_t& attr)
+ call(Iterator const& first, Iterator const&, wchar_t& attr)
         {
             attr = *first;
         }
@@ -70,7 +70,7 @@
     struct assign_to_attribute_from_iterators<unsigned short, Iterator>
     {
         static void
- call(Iterator const& first, Iterator const& last, unsigned short& attr)
+ call(Iterator const& first, Iterator const&, unsigned short& attr)
         {
             attr = *first;
         }

Modified: branches/release/boost/spirit/home/qi/nonterminal/grammar.hpp
==============================================================================
--- branches/release/boost/spirit/home/qi/nonterminal/grammar.hpp (original)
+++ branches/release/boost/spirit/home/qi/nonterminal/grammar.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -97,7 +97,7 @@
         }
 
         template <typename Context>
- info what(Context& context) const
+ info what(Context&) const
         {
             return info(name_);
         }

Modified: branches/release/boost/spirit/home/support/attributes.hpp
==============================================================================
--- branches/release/boost/spirit/home/support/attributes.hpp (original)
+++ branches/release/boost/spirit/home/support/attributes.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -109,6 +109,14 @@
       : is_weak_substitute<T, Expected> {};
 
     template <typename T, typename Expected>
+ struct is_weak_substitute<optional<T>, Expected>
+ : is_weak_substitute<T, Expected> {};
+
+ template <typename T, typename Expected>
+ struct is_weak_substitute<T, optional<Expected> >
+ : is_weak_substitute<T, Expected> {};
+
+ template <typename T, typename Expected>
     struct is_weak_substitute<T, Expected,
         typename enable_if<
             mpl::and_<
@@ -881,12 +889,12 @@
     }
 
     template <typename A>
- void swap_impl(A& a, unused_type)
+ void swap_impl(A&, unused_type)
     {
     }
 
     template <typename A>
- void swap_impl(unused_type, A& a)
+ void swap_impl(unused_type, A&)
     {
     }
 

Modified: branches/release/boost/spirit/home/support/iterators/detail/functor_input_policy.hpp
==============================================================================
--- branches/release/boost/spirit/home/support/iterators/detail/functor_input_policy.hpp (original)
+++ branches/release/boost/spirit/home/support/iterators/detail/functor_input_policy.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -84,7 +84,7 @@
             }
 
             template <typename MultiPass>
- static bool input_is_valid(MultiPass const& mp, value_type const& t)
+ static bool input_is_valid(MultiPass const&, value_type const& t)
             {
                 using namespace is_valid_test_;
                 return token_is_valid(t);
@@ -103,7 +103,7 @@
         template <typename Functor>
         struct shared
         {
- explicit shared(Functor const& x) : curtok(0) {}
+ explicit shared(Functor const&) : curtok(0) {}
 
             typename Functor::result_type curtok;
         };

Modified: branches/release/boost/spirit/home/support/iterators/detail/istream_policy.hpp
==============================================================================
--- branches/release/boost/spirit/home/support/iterators/detail/istream_policy.hpp (original)
+++ branches/release/boost/spirit/home/support/iterators/detail/istream_policy.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -71,7 +71,7 @@
             }
 
             template <typename MultiPass>
- static bool input_is_valid(MultiPass const& mp, value_type const& t)
+ static bool input_is_valid(MultiPass const& mp, value_type const&)
             {
                 return mp.shared()->initialized_;
             }

Modified: branches/release/boost/spirit/home/support/utree/detail/utree_detail2.hpp
==============================================================================
--- branches/release/boost/spirit/home/support/utree/detail/utree_detail2.hpp (original)
+++ branches/release/boost/spirit/home/support/utree/detail/utree_detail2.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -605,7 +605,7 @@
     template <typename F>
     stored_function<F>::~stored_function()
     {
- };
+ }
 
     template <typename F>
     utree stored_function<F>::operator()(scope const& env) const
@@ -629,7 +629,7 @@
     template <typename F>
     referenced_function<F>::~referenced_function()
     {
- };
+ }
 
     template <typename F>
     utree referenced_function<F>::operator()(scope const& env) const
@@ -1437,7 +1437,7 @@
         }
 
         template <typename From>
- To dispatch(From const& val, boost::mpl::false_) const
+ To dispatch(From const&, boost::mpl::false_) const
         {
             // From is NOT convertible to To !!!
             boost::throw_exception(std::bad_cast());
@@ -1463,7 +1463,7 @@
         typedef T* result_type;
 
         template <typename From>
- T* operator()(From const& val) const
+ T* operator()(From const&) const
         {
             // From is NOT convertible to T !!!
             boost::throw_exception(std::bad_cast());

Modified: branches/release/boost/spirit/home/support/utree/operators.hpp
==============================================================================
--- branches/release/boost/spirit/home/support/utree/operators.hpp (original)
+++ branches/release/boost/spirit/home/support/utree/operators.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -127,7 +127,7 @@
             return true;
         }
 
- bool operator()(function_base const& a, function_base const& b) const
+ bool operator()(function_base const&, function_base const&) const
         {
             return false; // just don't allow comparison of functions
         }
@@ -185,13 +185,13 @@
             return false; // no less than comparison for nil
         }
 
- bool operator()(any_ptr const& a, any_ptr const& b) const
+ bool operator()(any_ptr const&, any_ptr const&) const
         {
             boost::throw_exception(bad_type_exception());
             return false; // no less than comparison for any_ptr
         }
 
- bool operator()(function_base const& a, function_base const& b) const
+ bool operator()(function_base const&, function_base const&) const
         {
             boost::throw_exception(bad_type_exception());
             return false; // no less than comparison of functions
@@ -269,12 +269,12 @@
             (*this)(')');
         }
 
- void operator()(any_ptr const& p) const
+ void operator()(any_ptr const&) const
         {
             return (*this)("<pointer>");
         }
 
- void operator()(function_base const& pf) const
+ void operator()(function_base const&) const
         {
             return (*this)("<function>");
         }
@@ -305,21 +305,21 @@
 
         // binary
         template <typename A, typename B>
- utree dispatch(A const& a, B const& b, mpl::false_, mpl::true_) const
+ utree dispatch(A const&, B const& b, mpl::false_, mpl::true_) const
         {
             return Base::eval(true, b);
         }
 
         // binary
         template <typename A, typename B>
- utree dispatch(A const& a, B const& b, mpl::true_, mpl::false_) const
+ utree dispatch(A const& a, B const&, mpl::true_, mpl::false_) const
         {
             return Base::eval(a, true);
         }
 
         // binary
         template <typename A, typename B>
- utree dispatch(A const& a, B const& b, mpl::false_, mpl::false_) const
+ utree dispatch(A const&, B const&, mpl::false_, mpl::false_) const
         {
             return Base::eval(true, true);
         }
@@ -340,7 +340,7 @@
 
         // unary
         template <typename A>
- utree dispatch(A const& a, mpl::false_) const
+ utree dispatch(A const&, mpl::false_) const
         {
             return Base::eval(true);
         }
@@ -512,33 +512,33 @@
         return out;
     }
 
- inline std::ostream& operator<<(std::ostream& out, utree::invalid_type const& x)
+ inline std::ostream& operator<<(std::ostream& out, utree::invalid_type const&)
     {
         return out;
     }
 
- inline std::ostream& operator<<(std::ostream& out, utree::nil_type const& x)
+ inline std::ostream& operator<<(std::ostream& out, utree::nil_type const&)
     {
         return out;
     }
 
- BOOST_SPIRIT_UTREE_CREATE_LOGICAL_FUNCTION(and_, a&&b);
- BOOST_SPIRIT_UTREE_CREATE_LOGICAL_FUNCTION(or_, a||b);
- BOOST_SPIRIT_UTREE_CREATE_LOGICAL_FUNCTION(not_, !a);
-
- BOOST_SPIRIT_UTREE_CREATE_ARITHMETIC_FUNCTION(plus, a+b);
- BOOST_SPIRIT_UTREE_CREATE_ARITHMETIC_FUNCTION(minus, a-b);
- BOOST_SPIRIT_UTREE_CREATE_ARITHMETIC_FUNCTION(times, a*b);
- BOOST_SPIRIT_UTREE_CREATE_ARITHMETIC_FUNCTION(divides, a/b);
- BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(modulus, a%b);
- BOOST_SPIRIT_UTREE_CREATE_ARITHMETIC_FUNCTION(negate, -a);
-
- BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(bitand_, a&b);
- BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(bitor_, a|b);
- BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(bitxor_, a^b);
- BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(shift_left, a<<b);
- BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(shift_right, a>>b);
- BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(invert, ~a);
+ BOOST_SPIRIT_UTREE_CREATE_LOGICAL_FUNCTION(and_, a&&b)
+ BOOST_SPIRIT_UTREE_CREATE_LOGICAL_FUNCTION(or_, a||b)
+ BOOST_SPIRIT_UTREE_CREATE_LOGICAL_FUNCTION(not_, !a)
+
+ BOOST_SPIRIT_UTREE_CREATE_ARITHMETIC_FUNCTION(plus, a+b)
+ BOOST_SPIRIT_UTREE_CREATE_ARITHMETIC_FUNCTION(minus, a-b)
+ BOOST_SPIRIT_UTREE_CREATE_ARITHMETIC_FUNCTION(times, a*b)
+ BOOST_SPIRIT_UTREE_CREATE_ARITHMETIC_FUNCTION(divides, a/b)
+ BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(modulus, a%b)
+ BOOST_SPIRIT_UTREE_CREATE_ARITHMETIC_FUNCTION(negate, -a)
+
+ BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(bitand_, a&b)
+ BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(bitor_, a|b)
+ BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(bitxor_, a^b)
+ BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(shift_left, a<<b)
+ BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(shift_right, a>>b)
+ BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(invert, ~a)
 
     inline utree operator&&(utree const& a, utree const& b)
     {

Modified: branches/release/boost/spirit/home/support/utree/utree.hpp
==============================================================================
--- branches/release/boost/spirit/home/support/utree/utree.hpp (original)
+++ branches/release/boost/spirit/home/support/utree/utree.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -175,7 +175,7 @@
     //[utree_function_object_interface
     struct function_base
     {
- virtual ~function_base() {};
+ virtual ~function_base() {}
         virtual utree operator()(scope const& env) const = 0;
 
         // Calling f.clone() must return a newly allocated function_base

Modified: branches/release/boost/spirit/home/support/utree/utree_traits.hpp
==============================================================================
--- branches/release/boost/spirit/home/support/utree/utree_traits.hpp (original)
+++ branches/release/boost/spirit/home/support/utree/utree_traits.hpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -1154,7 +1154,7 @@
     {
         typedef utree::nil_type type;
 
- static type pre(utree const& t)
+ static type pre(utree const&)
         {
             return nil;
         }

Modified: branches/release/libs/spirit/doc/advanced/customization_points.qbk
==============================================================================
--- branches/release/libs/spirit/doc/advanced/customization_points.qbk (original)
+++ branches/release/libs/spirit/doc/advanced/customization_points.qbk 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -110,7 +110,7 @@
     template <typename Container, typename Enable>
     struct is_container
     {
- typedef <unspecified> type;
+ <unspecified>;
     };
 
 [heading Template parameters]
@@ -139,7 +139,8 @@
     [[`is_container<C>::type`] [Result of the metafunction that evaluates to
                                    `mpl::true_` if a given type, `C`, is to be
                                    treated as a container, `mpl::false_` otherwise
- (See __mpl_boolean_constant__).]]
+ Generally, any implementation of `is_container`
+ needs to behave as if if was a __mpl_boolean_constant__..]]
 ]
 
 [heading Predefined Specializations]
@@ -238,7 +239,7 @@
     template <typename T>
     struct is_string
     {
- typedef <unspecified> type;
+ <unspecified>;
     };
 
 [heading Template parameters]
@@ -262,7 +263,9 @@
     [[Expression] [Semantics]]
     [[`is_string<T>::type`] [Result of the metafunction that evalutes to mpl::true_
                              if a given type, `T`, is to be treated as a string and
- mpl::false_ otherwise. (See __mpl_boolean_constant__).]]
+ mpl::false_ otherwise. Generally,
+ any implementation of `is_string` needs to behave as
+ if if was a __mpl_boolean_constant__.]]
 ]
 
 [heading Predefined Specializations]
@@ -354,10 +357,12 @@
 
 [heading Synopsis]
 
- template <typename Component, typename Attribute, typename Enable>
+ template <
+ typename Component, typename Attribute, typename Context,
+ typename Iterator, typename Enable>
     struct handles_container
     {
- typedef <unspecified> type;
+ <unspecified>;
     };
 
 [heading Template parameters]
@@ -368,7 +373,11 @@
                              be tested whether it handles container attributes
                              directly.] [none]]
     [[`Attribute`] [The attribute type `Attribute` as passed to the
- sequence operator.]
+ sequence operator.] [none]]
+ [[`Context`] [This is the type of the current component execution
+ context.] [`unused_type`]]
+ [[`Iterator`] [The type, `Iterator` is the type of the iterators
+ used to invoke the component.] [`unused_type`]]
     [[`Enable`] [Helper template parameter usable to selectively
                              enable or disable certain specializations
                              of `is_container` utilizing SFINAE (i.e.
@@ -390,8 +399,9 @@
                                     [Result of the metafunction that evaluates to
                                      `mpl::true_` if a given component type `Component`,
                                      handles container attributes directly,
- `mpl::false_` otherwise
- (See __mpl_boolean_constant__).]]
+ `mpl::false_` otherwise. Generally,
+ any implementation of `handles_container` needs to
+ behave as if if was a __mpl_boolean_constant__.]]
 ]
 
 [heading Predefined Specializations]
@@ -465,6 +475,7 @@
     struct transform_attribute
     {
         typedef <unspecified> type;
+
         static type pre(Exposed& val);
         static void post(Exposed& val, type attr); // Qi only
         static void fail(Exposed&); // Qi only
@@ -2320,8 +2331,9 @@
 [heading Synopsis]
 
     template <typename T>
- struct is_char {
- typedef <unspecified> type;
+ struct is_char
+ {
+ <unspecified>;
     };
 
 [heading Template parameters]
@@ -2340,8 +2352,9 @@
 [table
     [[Expression] [Semantics]]
     [[`is_char<T>::type`] [`mpl::true_` if T should be treated as a character
- type, and `mpl::false_` otherwise.
- (See __mpl_boolean_constant__).]]
+ type, and `mpl::false_` otherwise. Generally,
+ any implementation of `is_char` needs to behave as
+ if if was a __mpl_boolean_constant__.]]
 ]
 
 [heading Predefined Specializations]

Modified: branches/release/libs/spirit/test/karma/regression_real_scientific.cpp
==============================================================================
--- branches/release/libs/spirit/test/karma/regression_real_scientific.cpp (original)
+++ branches/release/libs/spirit/test/karma/regression_real_scientific.cpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -19,7 +19,7 @@
 struct scientific_policy : karma::real_policies<Num>
 {
     // we want the numbers always to be in scientific format
- static int floatfield(Num n) { return std::ios_base::scientific; }
+ static int floatfield(Num) { return std::ios_base::scientific; }
 };
 
 int main()

Modified: branches/release/libs/spirit/test/lex/string_token_id.cpp
==============================================================================
--- branches/release/libs/spirit/test/lex/string_token_id.cpp (original)
+++ branches/release/libs/spirit/test/lex/string_token_id.cpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -49,7 +49,7 @@
 struct word_count_grammar : qi::grammar<Iterator>
 {
     template <typename TokenDef>
- word_count_grammar(TokenDef const& tok)
+ word_count_grammar(TokenDef const&)
       : word_count_grammar::base_type(start)
       , w(0), c(0), a(0)
     {

Modified: branches/release/libs/spirit/test/qi/grammar.cpp
==============================================================================
--- branches/release/libs/spirit/test/qi/grammar.cpp (original)
+++ branches/release/libs/spirit/test/qi/grammar.cpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -78,7 +78,7 @@
 struct num_list3 : grammar<Iterator, Skipper>
 {
     template <typename Class>
- num_list3(Class& self) : grammar<Iterator, Skipper>(start)
+ num_list3(Class&) : grammar<Iterator, Skipper>(start)
     {
         using boost::spirit::int_;
         num = int_;

Modified: branches/release/libs/spirit/test/qi/regression_clear.cpp
==============================================================================
--- branches/release/libs/spirit/test/qi/regression_clear.cpp (original)
+++ branches/release/libs/spirit/test/qi/regression_clear.cpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -19,7 +19,7 @@
     list = *qi::raw[qi::char_]; // This fails to compile
     
     char const* test = "abcdef";
- int test_length = 6;
+ unsigned test_length = 6;
     char const* test_begin = test;
     char const* test_end = test + test_length;
     std::vector<boost::iterator_range<Iterator> > result;
@@ -29,7 +29,7 @@
     BOOST_TEST(test_begin == test_end);
     BOOST_TEST(result.size() == test_length);
 
- for(int i = 0; i < test_length; ++i) {
+ for(unsigned i = 0; i < test_length; ++i) {
         BOOST_TEST(result[i].begin() == test + i);
         BOOST_TEST(result[i].end() == test + i + 1);
     }

Modified: branches/release/libs/spirit/test/qi/regression_transform_assignment.cpp
==============================================================================
--- branches/release/libs/spirit/test/qi/regression_transform_assignment.cpp (original)
+++ branches/release/libs/spirit/test/qi/regression_transform_assignment.cpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -59,7 +59,7 @@
     qi::rule<Iterator, foo_parts()> start;
 };
 
-int main(int argc, char * argv[])
+int main()
 {
     foo_parts instance;
     foo_grammar<std::string::iterator> grammar;

Modified: branches/release/libs/spirit/test/support/regression_multi_pass_functor.cpp
==============================================================================
--- branches/release/libs/spirit/test/support/regression_multi_pass_functor.cpp (original)
+++ branches/release/libs/spirit/test/support/regression_multi_pass_functor.cpp 2011-03-27 22:47:59 EDT (Sun, 27 Mar 2011)
@@ -85,7 +85,7 @@
 
 // ======================================================================
 // Main
-int main(int argc, char** argv)
+int main()
 {
     std::ifstream in("multi_pass.txt");
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk