GCC 4.6.0 rejects Boost Intrusive header
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<root_plus_size, node> ( detail::boost_intrusive_get_pointer(end_iterator.pointed_node()), &root_plus_size::root_); data_t *d = detail::parent_from_member<data_t, root_plus_size> ( r, &data_t::root_plus_size_); list_impl *s = detail::parent_from_member<list_impl, data_t>(d, &list_impl::data_); return *s; } 1291 is the line that starts with "list_impl *s = " I'd like to be able to begin using GCC 4.6, but this is preventing me from doing so. Would someone with GCC 4.7 or 4.6.1 test this and report the results? TIA. -- Brian Wood Ebenezer Enterprises http://webEbenezer.net <http://webebenezer.net/> Trust in the L-RD and lean not on your own understanding. In all your ways acknowledge Him and He will direct your paths. Proverbs 3:5,6
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
the bug [1] is related to the c++0x support and has been fixed a few weeks ago tim [1] http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49298
participants (2)
-
Brian Wood
-
Tim Blechmann