[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-commit
Subject:    [Boost-commit] svn:boost r39072 - in
From:       eric () boost-consulting ! com
Date:       2007-08-30 15:03:36
Message-ID: 20070830150336.CDFFC2F81BC () wowbagger ! osl ! iu ! edu
[Download RAW message or body]

Author: eric_niebler
Date: 2007-08-30 11:03:33 EDT (Thu, 30 Aug 2007)
New Revision: 39072
URL: http://svn.boost.org/trac/boost/changeset/39072

Log:
xpressive examples compile clean with gcc -Wall
Text files modified: 
   branches/proto/v3/boost/xpressive/detail/core/action.hpp                     |     \
2 +-                                        \
branches/proto/v3/boost/xpressive/detail/core/peeker.hpp                     |     4 \
++--                                      \
branches/proto/v3/boost/xpressive/detail/static/transforms/as_marker.hpp     |     2 \
+-                                        \
branches/proto/v3/boost/xpressive/detail/static/transforms/as_matcher.hpp    |     2 \
+-                                        \
branches/proto/v3/boost/xpressive/detail/static/transforms/as_quantifier.hpp |     2 \
+-                                        \
branches/proto/v3/boost/xpressive/regex_primitives.hpp                       |    26 \
+++++++++++++-------------                6 files changed, 19 insertions(+), 19 \
deletions(-)

Modified: branches/proto/v3/boost/xpressive/detail/core/action.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/detail/core/action.hpp	(original)
+++ branches/proto/v3/boost/xpressive/detail/core/action.hpp	2007-08-30 11:03:33 EDT \
(Thu, 30 Aug 2007) @@ -25,7 +25,7 @@
     struct actionable
     {
         virtual ~actionable() {}
-        virtual void execute(action_args_type *action_args) const {}
+        virtual void execute(action_args_type *) const {}
 
         actionable()
           : next(0)

Modified: branches/proto/v3/boost/xpressive/detail/core/peeker.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/detail/core/peeker.hpp	(original)
+++ branches/proto/v3/boost/xpressive/detail/core/peeker.hpp	2007-08-30 11:03:33 EDT \
(Thu, 30 Aug 2007) @@ -175,14 +175,14 @@
     }
 
     template<typename Xpr, bool Greedy>
-    mpl::false_ accept(optional_matcher<Xpr, Greedy> const &xpr)
+    mpl::false_ accept(optional_matcher<Xpr, Greedy> const &)
     {
         this->fail();  // a union of xpr and next
         return mpl::false_();
     }
 
     template<typename Xpr, bool Greedy>
-    mpl::false_ accept(optional_mark_matcher<Xpr, Greedy> const &xpr)
+    mpl::false_ accept(optional_mark_matcher<Xpr, Greedy> const &)
     {
         this->fail();  // a union of xpr and next
         return mpl::false_();

Modified: branches/proto/v3/boost/xpressive/detail/static/transforms/as_marker.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/detail/static/transforms/as_marker.hpp	(original)
                
+++ branches/proto/v3/boost/xpressive/detail/static/transforms/as_marker.hpp	2007-08-30 \
11:03:33 EDT (Thu, 30 Aug 2007) @@ -71,7 +71,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
-        call(Expr const &expr, State const &, Visitor &visitor)
+        call(Expr const &expr, State const &, Visitor &)
         {
             int mark_nbr = get_mark_number(proto::left(expr));
             mark_begin_matcher begin(mark_nbr);

Modified: branches/proto/v3/boost/xpressive/detail/static/transforms/as_matcher.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/detail/static/transforms/as_matcher.hpp	(original)
                
+++ branches/proto/v3/boost/xpressive/detail/static/transforms/as_matcher.hpp	2007-08-30 \
11:03:33 EDT (Thu, 30 Aug 2007) @@ -36,7 +36,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
-        call(Expr const &expr, State const &state, Visitor &visitor)
+        call(Expr const &expr, State const &, Visitor &visitor)
         {
             return visitor.call(proto::arg(expr));
         }

Modified: branches/proto/v3/boost/xpressive/detail/static/transforms/as_quantifier.hpp
 ==============================================================================
--- branches/proto/v3/boost/xpressive/detail/static/transforms/as_quantifier.hpp	(original)
                
+++ branches/proto/v3/boost/xpressive/detail/static/transforms/as_quantifier.hpp	2007-08-30 \
11:03:33 EDT (Thu, 30 Aug 2007) @@ -77,7 +77,7 @@
 
         template<typename Expr, typename State, typename Visitor>
         static typename apply<Expr, State, Visitor>::type
-        call(Expr const &expr, State const &state, Visitor &visitor)
+        call(Expr const &expr, State const &, Visitor &visitor)
         {
             typename apply<Expr, State, Visitor>::xpr_type const &xpr =
                 grammar_type::call(expr, true_xpression(), visitor);

Modified: branches/proto/v3/boost/xpressive/regex_primitives.hpp
==============================================================================
--- branches/proto/v3/boost/xpressive/regex_primitives.hpp	(original)
+++ branches/proto/v3/boost/xpressive/regex_primitives.hpp	2007-08-30 11:03:33 EDT \
(Thu, 30 Aug 2007) @@ -139,14 +139,14 @@
 unsigned int const inf = UINT_MAX-1;
 
 /// INTERNAL ONLY (for backwards compatibility)
-proto::terminal<detail::epsilon_matcher>::type const epsilon = {};
+proto::terminal<detail::epsilon_matcher>::type const epsilon = {{}};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Successfully matches nothing.
 ///
 /// Successfully matches a zero-width sequence. nil always succeeds and
 /// never consumes any characters.
-proto::terminal<detail::epsilon_matcher>::type const nil = {};
+proto::terminal<detail::epsilon_matcher>::type const nil = {{}};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Matches an alpha-numeric character.
@@ -273,7 +273,7 @@
 ///
 /// For the character sequence [begin, end), 'bos' matches the
 /// zero-width sub-sequence [begin, begin).
-proto::terminal<detail::assert_bos_matcher>::type const bos = {};
+proto::terminal<detail::assert_bos_matcher>::type const bos = {{}};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief End of sequence assertion.
@@ -284,7 +284,7 @@
 /// \attention Unlike the perl end of sequence assertion \$, 'eos' will
 /// not match at the position [end-1, end-1) if *(end-1) is '\\n'. To
 /// get that behavior, use (!_n >> eos).
-proto::terminal<detail::assert_eos_matcher>::type const eos = {};
+proto::terminal<detail::assert_eos_matcher>::type const eos = {{}};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Beginning of line assertion.
@@ -292,7 +292,7 @@
 /// 'bol' matches the zero-width sub-sequence
 /// immediately following a logical newline sequence. The regex traits
 /// is used to determine what constitutes a logical newline sequence.
-proto::terminal<detail::assert_bol_placeholder>::type const bol = {};
+proto::terminal<detail::assert_bol_placeholder>::type const bol = {{}};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief End of line assertion.
@@ -300,7 +300,7 @@
 /// 'eol' matches the zero-width sub-sequence
 /// immediately preceeding a logical newline sequence. The regex traits
 /// is used to determine what constitutes a logical newline sequence.
-proto::terminal<detail::assert_eol_placeholder>::type const eol = {};
+proto::terminal<detail::assert_eol_placeholder>::type const eol = {{}};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Beginning of word assertion.
@@ -308,7 +308,7 @@
 /// 'bow' matches the zero-width sub-sequence
 /// immediately following a non-word character and preceeding a word character.
 /// The regex traits are used to determine what constitutes a word character.
-proto::terminal<detail::assert_word_begin>::type const bow = {};
+proto::terminal<detail::assert_word_begin>::type const bow = {{}};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief End of word assertion.
@@ -316,7 +316,7 @@
 /// 'eow' matches the zero-width sub-sequence
 /// immediately following a word character and preceeding a non-word character.
 /// The regex traits are used to determine what constitutes a word character.
-proto::terminal<detail::assert_word_end>::type const eow = {};
+proto::terminal<detail::assert_word_end>::type const eow = {{}};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Word boundary assertion.
@@ -326,7 +326,7 @@
 /// constitutes a word character. To match a non-word boundary, use ~_b.
 ///
 /// \attention _b is like \\b in perl. ~_b is like \\B in perl.
-proto::terminal<detail::assert_word_boundary>::type const _b = {};
+proto::terminal<detail::assert_word_boundary>::type const _b = {{}};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Matches a word character.
@@ -374,7 +374,7 @@
 /// line separator class, as determined by the regex traits, or the '\\r\\n' \
sequence.  /// For the purpose of back-tracking, '\\r\\n' is treated as a unit.
 /// To match any one character that is not a logical newline, use ~_ln.
-detail::logical_newline_xpression const _ln = {};
+detail::logical_newline_xpression const _ln = {{}};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Matches any one character.
@@ -383,7 +383,7 @@
 /// '_' matches any one character, including the newline.
 ///
 /// \attention To match any character except the newline, use ~_n
-proto::terminal<detail::any_matcher>::type const _ = {};
+proto::terminal<detail::any_matcher>::type const _ = {{}};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Reference to the current regex object
@@ -392,7 +392,7 @@
 /// identifier is a short-hand for the current regex object. For instance,
 /// sregex rx = '(' >> (self | nil) >> ')'; will create a regex object that
 /// matches balanced parens such as "((()))".
-proto::terminal<detail::self_placeholder>::type const self = {};
+proto::terminal<detail::self_placeholder>::type const self = {{}};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Used to create character sets.
@@ -409,7 +409,7 @@
 ///
 /// Sets can be composed of other, possibly complemented, sets. For instance,
 /// set[ ~digit | ~(set= 'a','b','c') ].
-detail::set_initializer_type const set = {};
+detail::set_initializer_type const set = {{}};
 
 ///////////////////////////////////////////////////////////////////////////////
 /// \brief Sub-match placeholder, like $& in Perl
_______________________________________________
Boost-commit mailing list
Boost-commit@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-commit


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic