
"Joel de Guzman"
Andy Little wrote:
"Andy Little"
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
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