|
Boost : |
From: Angus Leeming (angus.leeming_at_[hidden])
Date: 2003-12-16 05:57:43
I cannot compile a (trivial) file containing just:
#include <boost/graph/graph_traits.hpp>
against current the anon-cvs version of boost cvs.
(Does it still lag the real repository?)
The error:
In file included from /home/aleem/boost/cvs/boost/graph/graph_traits.hpp:32,
from ../../../src/bgl/bgl.C:6:
/home/aleem/boost/cvs/boost/pending/ct_if.hpp:26: error: conflicting types for
`struct boost::true_type'
/home/aleem/boost/cvs/boost/type_traits/detail/bool_trait_def.hpp:174: error: previous
declaration as `typedef struct boost::integral_constant<bool, true>
boost::true_type'
/home/aleem/boost/cvs/boost/pending/ct_if.hpp:27: error: conflicting types for
`struct boost::false_type'
/home/aleem/boost/cvs/boost/type_traits/detail/bool_trait_def.hpp:175: error: previous
declaration as `typedef struct boost::integral_constant<bool, false>
boost::false_type'
suggests that the BGL is lagging behind changes made to the
Type Traits library.
Commenting out the line:
#include <boost/pending/ct_if.hpp>
allows compilation to proceed, but I am unsure what
repercussions this will have.
I'm compiling with g++ 3.3.2 on a Linux-Alpha machine
running Debian unstable.
Interestingly, I don't see this problem on a PC running the RH8
flavour of linux. I don't know whether I've triggered a 64-bit problem
or one with the newer version of g++.
Hope that this report helps.
Regards,
Angus
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk