Boost logo

Boost Users :

From: Andy Little (andy_at_[hidden])
Date: 2006-09-09 06:55:46


"Joel de Guzman" <joel_at_[hidden]> wrote in message
news:edu1li$1sf$2_at_sea.gmane.org...
> Andy Little wrote:
>> "Andy Little" <andy_at_[hidden]> wrote
>
>> Also I found I had to comment out the specialisation of as_vector<0>
>> in < boost/fusion/sequence/conversion/detail/as_vector.hpp>
>> in the Boost Review version to get it to compile OK in GCC4.0.1
>>
>> I havent tried the CVS version of the file but it looks unchanged relative to
>> my
>> version.
>
> Hmmm... Could you provide a minimal code that exhibits the problem?

Sure. Just include the as_vector header. Note this is the review version, not
CVS

#include <boost/fusion/sequence/conversion/as_vector.hpp>

Compiler:
>gcc --version
gcc (GCC) 4.0.1 (Indiana Concepts release 2)
Copyright (C) 2005 Free Software Foundation, Inc.
Copyright (C) 2005 Trustees of Indiana University.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

compile output:

E:\projects\Test>gcc -I"C:\boost\include\boost-1_33_1" -I"C:/quan/quan-trunk" -c
 test.cpp
C:/boost/include/boost-1_33_1/boost/fusion/sequence/conversion/detail/as_vector.
hpp: In static member function 'static typename boost::fusion::detail::as_vector
<0>::apply<Iterator>::type boost::fusion::detail::as_vector<0>::call(Iterator)':

C:/boost/include/boost-1_33_1/boost/fusion/sequence/conversion/detail/as_vector.
hpp:42: error: invalid use of undefined type 'struct boost::fusion::vector<boost
::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void
_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusi
on::void_, boost::fusion::void_, boost::fusion::void_>'
C:/boost/include/boost-1_33_1/boost/fusion/sequence/container/vector/vector_fwd.
hpp:23: error: declaration of 'struct boost::fusion::vector<boost::fusion::void_
, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boost::fusio
n::void_, boost::fusion::void_, boost::fusion::void_, boost::fusion::void_, boos
t::fusion::void_, boost::fusion::void_>'

E:\projects\Test>


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net