Boost logo

Boost :

From: rwgk_at_[hidden]
Date: 2001-04-02 00:12:57


--- In boost_at_y..., "David Abrahams" <abrahams_at_m...> wrote:
> Yeah, cast.hpp never worked without <limits>, though it contained
some
> workarounds ;-(
> Ralf, try replacing the #include <limits> with #include
<boost/limits.hpp>
> in cast.hpp. If that works, just go ahead and check it in on the
main trunk.
>
> -Dave

No luck here. Actually, there is another error message.
Attached are the two error messages with the CVS tree "as is,"
and the new error message with the suggested change.

ssh account including cvs client is available for someone
who knows how to fix this.

Ralf

RedHat 6.2, gcc 2.95.2

CVS tree "as is":

g++ -I/net/cci/rwgk/boost -I/usr/local/Python-
1.5.2/include/python1.5
-ftemplate-depth-21 -g -c classes.cpp
In file included from /net/cci/rwgk/boost/boost/operators.hpp:68,
                 
from /net/cci/rwgk/boost/boost/python/detail/cast.hpp:13,
                 
from /net/cci/rwgk/boost/boost/python/detail/types.hpp:
26,
                 from /net/cci/rwgk/boost/boost/python/classes.hpp:13,
                 from classes.cpp:14:
/net/cci/rwgk/boost/boost/iterator.hpp:43: no class template named
`iterator' in `std'

g++ -I/net/cci/rwgk/boost -I/usr/local/Python-
1.5.2/include/python1.5
-ftemplate-depth-21 -g -c conversions.cpp
In file included from conversions.cpp:19:
/net/cci/rwgk/boost/boost/cast.hpp:47: limits: No such file or
directory

RCS file: /cvsroot/boost/boost/boost/cast.hpp,v
retrieving revision 1.11
diff -r1.11 cast.hpp
47c47
< # include <limits>

---
> #  include <boost/limits.hpp>
g++   -I/net/cci/rwgk/boost -I/usr/local/Python-
1.5.2/include/python1.5 
-ftemplate-depth-21  -g -c conversions.cpp
In file included from /net/cci/rwgk/boost/boost/cast.hpp:47,
                 from conversions.cpp:19:
/net/cci/rwgk/boost/boost/limits.hpp:17: limits: No such file or 
directory

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk