Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r56252 - in trunk/libs/spirit: example/karma test/qi
From: hartmut.kaiser_at_[hidden]
Date: 2009-09-16 21:36:36


Author: hkaiser
Date: 2009-09-16 21:36:36 EDT (Wed, 16 Sep 2009)
New Revision: 56252
URL: http://svn.boost.org/trac/boost/changeset/56252

Log:
Spirit: fixed a couple of warnings in tests
Text files modified:
   trunk/libs/spirit/example/karma/num_list1.cpp | 10 +++++-----
   trunk/libs/spirit/test/qi/match_manip.cpp | 2 ++
   2 files changed, 7 insertions(+), 5 deletions(-)

Modified: trunk/libs/spirit/example/karma/num_list1.cpp
==============================================================================
--- trunk/libs/spirit/example/karma/num_list1.cpp (original)
+++ trunk/libs/spirit/example/karma/num_list1.cpp 2009-09-16 21:36:36 EDT (Wed, 16 Sep 2009)
@@ -1,5 +1,5 @@
 /*=============================================================================
- Copyright (c) 2002-2009 Joel Hartmut Kaiser
+ Copyright (c) 2002-2009 Hartmut Kaiser
     Copyright (c) 2002-2009 Joel de Guzman
 
     Distributed under the Boost Software License, Version 1.0. (See accompanying
@@ -56,10 +56,10 @@
         using ascii::space;
 
         bool r = generate_delimited(
- sink, /*< destination: output iterator >*/
- double_ << *(',' << double_), /*< the generator >*/
- space, /*< the delimiter-generator >*/
- v /*< the data to output >*/
+ sink, // destination: output iterator
+ double_ << *(',' << double_), // the generator
+ space, // the delimiter-generator
+ v // the data to output
         );
         return r;
     }

Modified: trunk/libs/spirit/test/qi/match_manip.cpp
==============================================================================
--- trunk/libs/spirit/test/qi/match_manip.cpp (original)
+++ trunk/libs/spirit/test/qi/match_manip.cpp 2009-09-16 21:36:36 EDT (Wed, 16 Sep 2009)
@@ -5,6 +5,8 @@
     Distributed under the Boost Software License, Version 1.0. (See accompanying
     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 =============================================================================*/
+#include <boost/config/warning_disable.hpp>
+
 #include <boost/spirit/include/support_argument.hpp>
 #include <boost/spirit/include/qi_action.hpp>
 #include <boost/spirit/include/qi_numeric.hpp>


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