Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-04-22 10:14:01


Author: hkaiser
Date: 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
New Revision: 44718
URL: http://svn.boost.org/trac/boost/changeset/44718

Log:
Spirit: Started to add '#include <boost/config/warning_disable.hpp>' to tests and examples.

Text files modified:
   trunk/libs/spirit/test/karma/actions.cpp | 4 ++--
   trunk/libs/spirit/test/karma/alternative.cpp | 1 +
   trunk/libs/spirit/test/karma/binary.cpp | 1 +
   trunk/libs/spirit/test/karma/case_handling.cpp | 1 +
   trunk/libs/spirit/test/karma/center_alignment.cpp | 7 ++++---
   trunk/libs/spirit/test/karma/char.cpp | 1 +
   trunk/libs/spirit/test/karma/delimiter.cpp | 1 +
   trunk/libs/spirit/test/karma/eps.cpp | 1 +
   trunk/libs/spirit/test/karma/format_manip.cpp | 1 +
   trunk/libs/spirit/test/karma/functor.cpp | 2 ++
   trunk/libs/spirit/test/karma/grammar.cpp | 1 +
   trunk/libs/spirit/test/karma/grammar_fail.cpp | 1 +
   trunk/libs/spirit/test/karma/int_numerics.cpp | 3 ++-
   trunk/libs/spirit/test/karma/kleene.cpp | 1 +
   trunk/libs/spirit/test/karma/lazy.cpp | 1 +
   trunk/libs/spirit/test/karma/left_alignment.cpp | 1 +
   trunk/libs/spirit/test/karma/list.cpp | 6 +++---
   trunk/libs/spirit/test/karma/lit.cpp | 1 +
   trunk/libs/spirit/test/karma/none.cpp | 1 +
   trunk/libs/spirit/test/karma/optional.cpp | 1 +
   trunk/libs/spirit/test/karma/pattern.cpp | 1 +
   trunk/libs/spirit/test/karma/real_numerics.cpp | 3 ++-
   trunk/libs/spirit/test/karma/right_alignment.cpp | 1 +
   trunk/libs/spirit/test/karma/rule_fail.cpp | 1 +
   trunk/libs/spirit/test/karma/sequence.cpp | 1 +
   25 files changed, 34 insertions(+), 10 deletions(-)

Modified: trunk/libs/spirit/test/karma/actions.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/actions.cpp (original)
+++ trunk/libs/spirit/test/karma/actions.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -6,8 +6,7 @@
     file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
 =============================================================================*/
 
-#include <strstream>
-
+#include <boost/config/warning_disable.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
 #include <boost/spirit/include/karma.hpp>
@@ -15,6 +14,7 @@
 #include <boost/bind.hpp>
 #include <boost/function_output_iterator.hpp>
 
+#include <strstream>
 #include "test.hpp"
 
 using namespace spirit_test;

Modified: trunk/libs/spirit/test/karma/alternative.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/alternative.cpp (original)
+++ trunk/libs/spirit/test/karma/alternative.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -5,6 +5,7 @@
 
 // #define KARMA_TEST_COMPILE_FAIL
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
 #include <boost/spirit/include/karma_char.hpp>

Modified: trunk/libs/spirit/test/karma/binary.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/binary.cpp (original)
+++ trunk/libs/spirit/test/karma/binary.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,6 +3,7 @@
 // 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/detail/lightweight_test.hpp>
 
 #include <boost/spirit/include/support_argument.hpp>

Modified: trunk/libs/spirit/test/karma/case_handling.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/case_handling.cpp (original)
+++ trunk/libs/spirit/test/karma/case_handling.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,6 +3,7 @@
 // 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/detail/lightweight_test.hpp>
 
 #include <boost/spirit/include/karma_char.hpp>

Modified: trunk/libs/spirit/test/karma/center_alignment.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/center_alignment.cpp (original)
+++ trunk/libs/spirit/test/karma/center_alignment.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,9 +3,7 @@
 // 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 <string>
-#include <iterator>
-
+#include <boost/config/warning_disable.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
 #include <boost/spirit/include/karma_char.hpp>
@@ -14,6 +12,9 @@
 #include <boost/spirit/include/karma_generate.hpp>
 #include <boost/spirit/include/karma_directive.hpp>
 
+#include <string>
+#include <iterator>
+
 #include "test.hpp"
 
 using namespace spirit_test;

Modified: trunk/libs/spirit/test/karma/char.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/char.cpp (original)
+++ trunk/libs/spirit/test/karma/char.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -5,6 +5,7 @@
 
 //#define KARMA_FAIL_COMPILATION
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
 #include <boost/spirit/include/support_argument.hpp>

Modified: trunk/libs/spirit/test/karma/delimiter.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/delimiter.cpp (original)
+++ trunk/libs/spirit/test/karma/delimiter.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -5,6 +5,7 @@
 
 //#define KARMA_FAIL_COMPILATION
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
 #include <boost/spirit/include/karma_char.hpp>

Modified: trunk/libs/spirit/test/karma/eps.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/eps.cpp (original)
+++ trunk/libs/spirit/test/karma/eps.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,6 +3,7 @@
 // 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/detail/lightweight_test.hpp>
 #include <boost/spirit/include/karma_auxiliary.hpp>
 #include <boost/spirit/include/phoenix_core.hpp>

Modified: trunk/libs/spirit/test/karma/format_manip.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/format_manip.cpp (original)
+++ trunk/libs/spirit/test/karma/format_manip.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,6 +3,7 @@
 // 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/karma.hpp>
 #include <boost/spirit/include/karma_stream.hpp>
 #include <boost/spirit/include/phoenix_core.hpp>

Modified: trunk/libs/spirit/test/karma/functor.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/functor.cpp (original)
+++ trunk/libs/spirit/test/karma/functor.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -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/detail/lightweight_test.hpp>
 #include <boost/spirit/include/karma_char.hpp>
 #include <boost/spirit/include/karma_auxiliary.hpp>

Modified: trunk/libs/spirit/test/karma/grammar.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/grammar.cpp (original)
+++ trunk/libs/spirit/test/karma/grammar.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,6 +3,7 @@
 // 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/detail/lightweight_test.hpp>
 
 // include this first to make rules have placeholders (e.g. r._1)

Modified: trunk/libs/spirit/test/karma/grammar_fail.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/grammar_fail.cpp (original)
+++ trunk/libs/spirit/test/karma/grammar_fail.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -5,6 +5,7 @@
     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/karma_operator.hpp>
 #include <boost/spirit/include/karma_char.hpp>
 #include <boost/spirit/include/karma_string.hpp>

Modified: trunk/libs/spirit/test/karma/int_numerics.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/int_numerics.cpp (original)
+++ trunk/libs/spirit/test/karma/int_numerics.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -5,7 +5,7 @@
 
 //#define KARMA_FAIL_COMPILATION
 
-#include <limits>
+#include <boost/config/warning_disable.hpp>
 #include <boost/detail/lightweight_test.hpp>
 #include <boost/lexical_cast.hpp>
 #include <boost/mpl/vector.hpp>
@@ -23,6 +23,7 @@
 #include <boost/spirit/include/karma_directive.hpp>
 #include <boost/spirit/include/karma_action.hpp>
 
+#include <limits>
 #include "test.hpp"
 
 using namespace spirit_test;

Modified: trunk/libs/spirit/test/karma/kleene.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/kleene.cpp (original)
+++ trunk/libs/spirit/test/karma/kleene.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,6 +3,7 @@
 // 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/detail/lightweight_test.hpp>
 
 #include <boost/assign/std/vector.hpp>

Modified: trunk/libs/spirit/test/karma/lazy.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/lazy.cpp (original)
+++ trunk/libs/spirit/test/karma/lazy.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,6 +3,7 @@
 // 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/detail/lightweight_test.hpp>
 #include <boost/spirit/include/karma_char.hpp>
 #include <boost/spirit/include/karma_string.hpp>

Modified: trunk/libs/spirit/test/karma/left_alignment.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/left_alignment.cpp (original)
+++ trunk/libs/spirit/test/karma/left_alignment.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,6 +3,7 @@
 // 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/detail/lightweight_test.hpp>
 
 #include <boost/spirit/include/karma_char.hpp>

Modified: trunk/libs/spirit/test/karma/list.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/list.cpp (original)
+++ trunk/libs/spirit/test/karma/list.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,9 +3,7 @@
 // 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 <string>
-#include <vector>
-
+#include <boost/config/warning_disable.hpp>
 #include <boost/detail/lightweight_test.hpp>
 #include <boost/utility/enable_if.hpp>
 
@@ -23,7 +21,9 @@
 #include <boost/assign/std/vector.hpp>
 
 #include <string>
+#include <vector>
 #include <iostream>
+
 #include "test.hpp"
 
 using namespace spirit_test;

Modified: trunk/libs/spirit/test/karma/lit.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/lit.cpp (original)
+++ trunk/libs/spirit/test/karma/lit.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,6 +3,7 @@
 // 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/detail/lightweight_test.hpp>
 
 #include <boost/spirit/include/karma_char.hpp>

Modified: trunk/libs/spirit/test/karma/none.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/none.cpp (original)
+++ trunk/libs/spirit/test/karma/none.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,6 +3,7 @@
 // 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/detail/lightweight_test.hpp>
 #include <boost/spirit/include/karma_auxiliary.hpp>
 #include <boost/spirit/include/karma_char.hpp>

Modified: trunk/libs/spirit/test/karma/optional.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/optional.cpp (original)
+++ trunk/libs/spirit/test/karma/optional.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,6 +3,7 @@
 // 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/detail/lightweight_test.hpp>
 
 #include <boost/spirit/include/karma_char.hpp>

Modified: trunk/libs/spirit/test/karma/pattern.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/pattern.cpp (original)
+++ trunk/libs/spirit/test/karma/pattern.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,6 +3,7 @@
 // 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/detail/lightweight_test.hpp>
 
 // include this first to make rules have placeholders (e.g. _r1)

Modified: trunk/libs/spirit/test/karma/real_numerics.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/real_numerics.cpp (original)
+++ trunk/libs/spirit/test/karma/real_numerics.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -5,7 +5,7 @@
 
 //#define KARMA_FAIL_COMPILATION
 
-#include <limits>
+#include <boost/config/warning_disable.hpp>
 #include <boost/detail/lightweight_test.hpp>
 #include <boost/math/concepts/real_concept.hpp>
 
@@ -14,6 +14,7 @@
 #include <boost/spirit/include/karma_generate.hpp>
 #include <boost/spirit/include/karma_directive.hpp>
 
+#include <limits>
 #include "test.hpp"
 
 using namespace spirit_test;

Modified: trunk/libs/spirit/test/karma/right_alignment.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/right_alignment.cpp (original)
+++ trunk/libs/spirit/test/karma/right_alignment.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -3,6 +3,7 @@
 // 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/detail/lightweight_test.hpp>
 
 #include <boost/spirit/include/karma_char.hpp>

Modified: trunk/libs/spirit/test/karma/rule_fail.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/rule_fail.cpp (original)
+++ trunk/libs/spirit/test/karma/rule_fail.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -5,6 +5,7 @@
     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/karma_operator.hpp>
 #include <boost/spirit/include/karma_char.hpp>
 #include <boost/spirit/include/karma_numeric.hpp>

Modified: trunk/libs/spirit/test/karma/sequence.cpp
==============================================================================
--- trunk/libs/spirit/test/karma/sequence.cpp (original)
+++ trunk/libs/spirit/test/karma/sequence.cpp 2008-04-22 10:13:58 EDT (Tue, 22 Apr 2008)
@@ -5,6 +5,7 @@
 
 // #define KARMA_TEST_COMPILE_FAIL
 
+#include <boost/config/warning_disable.hpp>
 #include <boost/detail/lightweight_test.hpp>
 
 #include <boost/spirit/include/support_argument.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