Hello,
I've bought the book (BGL) and am trying to compile
boost_1_27_0/boost/libs/example/adjacency_list.cpp but...
...MSVC6 spits out the dreaded "fatal error C1001: INTERNAL COMPILER ERROR".
Intel 5's first (of many) error is
e:/boost_1_27_0/boost/detail/iterator.hpp(204) : error: class
"std::list<_Ty, _A>::iterator [with
_Ty=boost::list_edge>,
boost::property},
boost::no_property>, boost::no_property, boost::listS>,
boost::listS, boost::vecS, boost::undirectedS,
boost::property>, boost::property}, boost::no_property>, boost::no_property,
boost::listS>::config::vertex_descriptor={boost::adjacency_list_traits::vertex_descriptor={boost::ct_if_t::is_rand_a
ccess={boost::detail::is_random_accessboost::listS::type={boost::false_typ
e}}, size_t={unsigned int}, boost::adjacency_list_traits::vertex_ptr={void
*}>::type={boost::adjacency_list_traits::vertex_ptr={void *}}}},
boost::property}, boost::no_property>>,
_A=std::allocator>,
boost::property}, boost::no_property>, boost::no_property,
boost::listS>, boost::listS, boost::vecS, boost::undirectedS,
boost::property
>, boost::property}, boost::no_property>, boost::no_property,
boost::listS>::config::vertex_descriptor={boost::adjacency_list_traits::vertex_descriptor={boost::ct_if_t::is_rand_access={boost::detail::is_random_access::type={boost::false_type}}, size_t={unsigned int},
boost::adjacency_list_traits::vertex_ptr={void
*}>::type={boost::adjacency_list_traits::vertex_ptr={void *}}}},
boost::property}, boost::no_property>>>]" has no member
"difference_type"
typedef typename Iterator::difference_type difference_type;
My last hope gcc 2.95.2 comes up with...
In file included from e:\boost_1_27_0\boost\detail\numeric_traits.hpp:69,
from e:\boost_1_27_0\boost\counting_iterator.hpp:57,
from e:\boost_1_27_0\boost\pending\integer_range.hpp:15,
from
e:\boost_1_27_0\boost\graph\detail\adjacency_list.hpp:34,
from e:\boost_1_27_0\boost\graph\adjacency_list.hpp:293,
from adjacency_list.cpp:31:
e:\boost_1_27_0\boost\cstdint.hpp:163: parse error
e:\boost_1_27_0\boost\cstdint.hpp:171: #error defaults not correct; you must
hand modify boost/cstdint.hpp
I'd like to get it working with MSVC6 or Intel5.
Any help much appreciated.
Louis.