|
Boost-Commit : |
From: hartmut.kaiser_at_[hidden]
Date: 2008-04-30 18:54:10
Author: hkaiser
Date: 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
New Revision: 44957
URL: http://svn.boost.org/trac/boost/changeset/44957
Log:
Spirit.Qi: added #include <boost/config/warning_disable.hpp> to Qi examples
Text files modified:
trunk/libs/spirit/example/qi/actions.cpp | 4 +++-
trunk/libs/spirit/example/qi/calc1.cpp | 2 ++
trunk/libs/spirit/example/qi/calc2.cpp | 2 ++
trunk/libs/spirit/example/qi/calc2_ast.cpp | 2 ++
trunk/libs/spirit/example/qi/calc3.cpp | 2 ++
trunk/libs/spirit/example/qi/calc3_lexer.cpp | 2 ++
trunk/libs/spirit/example/qi/calc4.cpp | 2 ++
trunk/libs/spirit/example/qi/calc5.cpp | 2 ++
trunk/libs/spirit/example/qi/calc6/calc6.hpp | 1 +
trunk/libs/spirit/example/qi/calc7/calc7.hpp | 1 +
trunk/libs/spirit/example/qi/complex_number.cpp | 2 ++
trunk/libs/spirit/example/qi/employee.cpp | 2 ++
trunk/libs/spirit/example/qi/mini_c/mini_c.hpp | 1 +
trunk/libs/spirit/example/qi/mini_xml1.cpp | 2 ++
trunk/libs/spirit/example/qi/mini_xml2.cpp | 2 ++
trunk/libs/spirit/example/qi/mini_xml_karma.cpp | 2 ++
trunk/libs/spirit/example/qi/num_list.cpp | 2 ++
trunk/libs/spirit/example/qi/num_list2.cpp | 2 ++
trunk/libs/spirit/example/qi/num_list3.cpp | 2 ++
trunk/libs/spirit/example/qi/roman.cpp | 2 ++
trunk/libs/spirit/example/qi/sum.cpp | 2 ++
21 files changed, 40 insertions(+), 1 deletions(-)
Modified: trunk/libs/spirit/example/qi/actions.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/actions.cpp (original)
+++ trunk/libs/spirit/example/qi/actions.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -5,11 +5,13 @@
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
=============================================================================*/
-#include <iostream>
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/lambda/lambda.hpp>
#include <boost/bind.hpp>
+#include <iostream>
+
// Presented are various ways to attach semantic actions
// * Using plain function pointer
// * Using simple function object
Modified: trunk/libs/spirit/example/qi/calc1.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/calc1.cpp (original)
+++ trunk/libs/spirit/example/qi/calc1.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -13,6 +13,8 @@
// [ JDG March 4, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <iostream>
#include <string>
Modified: trunk/libs/spirit/example/qi/calc2.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/calc2.cpp (original)
+++ trunk/libs/spirit/example/qi/calc2.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -14,6 +14,8 @@
// [ JDG March 4, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <iostream>
Modified: trunk/libs/spirit/example/qi/calc2_ast.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/calc2_ast.cpp (original)
+++ trunk/libs/spirit/example/qi/calc2_ast.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -11,6 +11,8 @@
// [ JDG April 28, 2002 ]
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/variant/recursive_variant.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
Modified: trunk/libs/spirit/example/qi/calc3.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/calc3.cpp (original)
+++ trunk/libs/spirit/example/qi/calc3.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -14,6 +14,8 @@
// [ JDG March 5, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
Modified: trunk/libs/spirit/example/qi/calc3_lexer.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/calc3_lexer.cpp (original)
+++ trunk/libs/spirit/example/qi/calc3_lexer.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -25,6 +25,8 @@
// [ JDG March 5, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/lex_lexer_lexertl.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
Modified: trunk/libs/spirit/example/qi/calc4.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/calc4.cpp (original)
+++ trunk/libs/spirit/example/qi/calc4.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -12,6 +12,8 @@
// [ JDG March 5, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
#include <boost/spirit/include/phoenix_object.hpp>
Modified: trunk/libs/spirit/example/qi/calc5.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/calc5.cpp (original)
+++ trunk/libs/spirit/example/qi/calc5.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -15,6 +15,8 @@
// [ JDG April 8, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_container.hpp>
Modified: trunk/libs/spirit/example/qi/calc6/calc6.hpp
==============================================================================
--- trunk/libs/spirit/example/qi/calc6/calc6.hpp (original)
+++ trunk/libs/spirit/example/qi/calc6/calc6.hpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -7,6 +7,7 @@
#if !defined(BOOST_SPIRIT_CALC6)
#define BOOST_SPIRIT_CALC6
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_container.hpp>
Modified: trunk/libs/spirit/example/qi/calc7/calc7.hpp
==============================================================================
--- trunk/libs/spirit/example/qi/calc7/calc7.hpp (original)
+++ trunk/libs/spirit/example/qi/calc7/calc7.hpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -7,6 +7,7 @@
#if !defined(BOOST_SPIRIT_CALC7)
#define BOOST_SPIRIT_CALC7
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_container.hpp>
Modified: trunk/libs/spirit/example/qi/complex_number.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/complex_number.cpp (original)
+++ trunk/libs/spirit/example/qi/complex_number.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -12,6 +12,8 @@
// [ JDG May 9, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
Modified: trunk/libs/spirit/example/qi/employee.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/employee.cpp (original)
+++ trunk/libs/spirit/example/qi/employee.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -12,6 +12,8 @@
// [ JDG May 9, 2007 ]
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
Modified: trunk/libs/spirit/example/qi/mini_c/mini_c.hpp
==============================================================================
--- trunk/libs/spirit/example/qi/mini_c/mini_c.hpp (original)
+++ trunk/libs/spirit/example/qi/mini_c/mini_c.hpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -7,6 +7,7 @@
#if !defined(BOOST_SPIRIT_MINI_C)
#define BOOST_SPIRIT_MINI_C
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_container.hpp>
Modified: trunk/libs/spirit/example/qi/mini_xml1.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/mini_xml1.cpp (original)
+++ trunk/libs/spirit/example/qi/mini_xml1.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -11,6 +11,8 @@
// [ JDG March 25, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
Modified: trunk/libs/spirit/example/qi/mini_xml2.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/mini_xml2.cpp (original)
+++ trunk/libs/spirit/example/qi/mini_xml2.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -11,6 +11,8 @@
// [ JDG March 25, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
Modified: trunk/libs/spirit/example/qi/mini_xml_karma.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/mini_xml_karma.cpp (original)
+++ trunk/libs/spirit/example/qi/mini_xml_karma.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -13,6 +13,8 @@
// [ HK April 02, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/karma.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
Modified: trunk/libs/spirit/example/qi/num_list.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/num_list.cpp (original)
+++ trunk/libs/spirit/example/qi/num_list.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -13,6 +13,8 @@
// [ JDG March 24, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
Modified: trunk/libs/spirit/example/qi/num_list2.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/num_list2.cpp (original)
+++ trunk/libs/spirit/example/qi/num_list2.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -13,6 +13,8 @@
// [ JDG March 24, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
Modified: trunk/libs/spirit/example/qi/num_list3.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/num_list3.cpp (original)
+++ trunk/libs/spirit/example/qi/num_list3.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -13,6 +13,8 @@
// [ JDG March 24, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
Modified: trunk/libs/spirit/example/qi/roman.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/roman.cpp (original)
+++ trunk/libs/spirit/example/qi/roman.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -13,6 +13,8 @@
// [ JDG March 13, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_operator.hpp>
Modified: trunk/libs/spirit/example/qi/sum.cpp
==============================================================================
--- trunk/libs/spirit/example/qi/sum.cpp (original)
+++ trunk/libs/spirit/example/qi/sum.cpp 2008-04-30 18:54:09 EDT (Wed, 30 Apr 2008)
@@ -12,6 +12,8 @@
// [ JDG March 24, 2007 ] spirit2
//
///////////////////////////////////////////////////////////////////////////////
+
+#include <boost/config/warning_disable.hpp>
#include <boost/spirit/include/qi.hpp>
#include <boost/spirit/include/phoenix_core.hpp>
#include <boost/spirit/include/phoenix_operator.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