GCC 4.6.0 rejects the *Boost* intrusive header list.hpp.
Here's the command line:
g++ -std=c++0x -O2 -s -W -Wall -I /home/brian/boost_1_46_1 -c -o
jaj.o jaj.cc
and the output:
In file included from jaj.cc:1:0:
/home/brian/boost_1_46_1/*boost*/intrusive/list.hpp: In static member
function =91static *boost*::intrusive::list_impl<Config>&
*boost*::intrusive::list_impl<Config>::priv_container_from_end_iterator(const
const_iterator&)=92:
/home/brian/boost_1_46_1/*boost*/intrusive/list.hpp:1291:89: sorry,
unimplemented: unexpected ast of kind field_decl
/home/brian/boost_1_46_1/*boost*/intrusive/list.hpp:1291: confused by
earlier errors, bailing out
Preprocessed source stored into /tmp/ccRWz6ZT.out file, please attach
this to your bugreport.
The .cc file is one line -- an include of list.hpp.
Here's the function that it is complaining about:
private:
static list_impl &priv_container_from_end_iterator(const
const_iterator &end_iterator)
{
root_plus_size *r = detail::parent_from_member