Boost logo

Boost-Commit :

From: hartmut.kaiser_at_[hidden]
Date: 2008-01-23 08:30:40


Author: hkaiser
Date: 2008-01-23 08:30:39 EST (Wed, 23 Jan 2008)
New Revision: 42926
URL: http://svn.boost.org/trac/boost/changeset/42926

Log:
Fixed bug #1595.
Text files modified:
   branches/release/boost/spirit/tree/impl/tree_to_xml.ipp | 4 +++-
   branches/release/libs/spirit/test/ast_calc_tests.cpp | 2 ++
   branches/release/libs/spirit/test/numerics_tests.cpp | 3 ++-
   3 files changed, 7 insertions(+), 2 deletions(-)

Modified: branches/release/boost/spirit/tree/impl/tree_to_xml.ipp
==============================================================================
--- branches/release/boost/spirit/tree/impl/tree_to_xml.ipp (original)
+++ branches/release/boost/spirit/tree/impl/tree_to_xml.ipp 2008-01-23 08:30:39 EST (Wed, 23 Jan 2008)
@@ -1,5 +1,5 @@
 /*=============================================================================
- Copyright (c) 2001-2007 Hartmut Kaiser
+ Copyright (c) 2001-2008 Hartmut Kaiser
     Copyright (c) 2001-2003 Daniel Nuffer
     http://spirit.sourceforge.net/
 
@@ -14,6 +14,8 @@
 #include <cstdio>
 #include <cstdarg>
 #include <locale>
+#include <string.h> // for strlen()
+#include <string>
 
 #include <map>
 #include <iostream>

Modified: branches/release/libs/spirit/test/ast_calc_tests.cpp
==============================================================================
--- branches/release/libs/spirit/test/ast_calc_tests.cpp (original)
+++ branches/release/libs/spirit/test/ast_calc_tests.cpp 2008-01-23 08:30:39 EST (Wed, 23 Jan 2008)
@@ -1,5 +1,6 @@
 /*=============================================================================
     Copyright (c) 2001-2003 Daniel Nuffer
+ Copyright (c) 2001-2008 Hartmut Kaiser
     http://spirit.sourceforge.net/
 
     Use, modification and distribution is subject to the Boost Software
@@ -13,6 +14,7 @@
 #include <boost/spirit/tree/tree_to_xml.hpp>
 #include <boost/detail/workaround.hpp>
 
+#include <stdlib.h>
 #include <iostream>
 #include <stack>
 #include <functional>

Modified: branches/release/libs/spirit/test/numerics_tests.cpp
==============================================================================
--- branches/release/libs/spirit/test/numerics_tests.cpp (original)
+++ branches/release/libs/spirit/test/numerics_tests.cpp 2008-01-23 08:30:39 EST (Wed, 23 Jan 2008)
@@ -1,6 +1,6 @@
 /*=============================================================================
     Copyright (c) 2001-2003 Joel de Guzman
- Copyright (c) 2001-2003 Hartmut Kaiser
+ Copyright (c) 2001-2008 Hartmut Kaiser
     http://spirit.sourceforge.net/
 
     Use, modification and distribution is subject to the Boost Software
@@ -9,6 +9,7 @@
 =============================================================================*/
 #include <boost/spirit/core.hpp>
 #include <boost/spirit/actor/assign_actor.hpp>
+#include <climits>
 #include <iostream>
 #include <boost/detail/lightweight_test.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