Re: [Boost-bugs] [Boost C++ Libraries] #1595: [spirit] missing #includes

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1595: [spirit] missing #includes
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-01-23 10:51:49


#1595: [spirit] missing #includes
--------------------------------------+-------------------------------------
  Reporter: faridz_at_[hidden] | Owner: djowel
      Type: Bugs | Status: new
 Milestone: Boost 1.35.0 | Component: spirit
   Version: Boost Development Trunk | Severity: Showstopper
Resolution: | Keywords:
--------------------------------------+-------------------------------------
Comment (by faridz_at_[hidden]):

 Another errors:
 {{{
 numerics_tests.cpp
 ..\libs\spirit\test\numerics_tests.cpp(138) : error C2065: 'UINT_MAX' :
 undeclared identifier
 ..\libs\spirit\test\numerics_tests.cpp(153) : error C2065: 'INT_MAX' :
 undeclared identifier
 ..\libs\spirit\test\numerics_tests.cpp(156) : error C2065: 'INT_MIN' :
 undeclared identifier
 }}}

   The patch:
 {{{
 Index: libs/spirit/test/numerics_tests.cpp
 ===================================================================
 --- libs/spirit/test/numerics_tests.cpp (revision 42908)
 +++ libs/spirit/test/numerics_tests.cpp (working copy)
 @@ -9,6 +9,7 @@
 =============================================================================*/
  #include <boost/spirit/core.hpp>
  #include <boost/spirit/actor/assign_actor.hpp>
 +#include <climits> // for INT_MIN, INT_MAX, UINT_MAX
  #include <iostream>
  #include <boost/detail/lightweight_test.hpp>
 }}}

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1595#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.


This archive was generated by hypermail 2.1.7 : 2017-02-16 18:49:57 UTC