Opened 13 years ago

Closed 12 years ago

#4124 closed Bugs (fixed)

GCC 4.5 error with spirit 2.X on boost trunk

Reported by: ramon.casellas@… Owned by: Joel de Guzman
Milestone: Boost 1.44.0 Component: spirit
Version: Boost Development Trunk Severity: Showstopper
Keywords: spirit gcc 4.5 Cc:

Description

Not sure if it is due to using gcc 4.5 the page http://www.boost.org/development/tests/trunk/developer/output/Sandia-gcc-4-3-4-boost-bin-v2-libs-spirit-test-bool-test-gcc-4-3-4-debug-qi.html

shows a related error

In file included from /usr/local/include/boost/spirit/home/qi/action/action.hpp:16:0,
                 from /usr/local/include/boost/spirit/home/qi/action.hpp:14,
                 from /usr/local/include/boost/spirit/home/qi.hpp:14,
                 from /usr/local/include/boost/spirit/include/qi.hpp:16,
                 from /home/rcasellas/cttc-pce/pce/protocol/detail/object_parser.hpp:17,
                 from /home/rcasellas/cttc-pce/pce/protocol/detail/object_terminals.hpp:5,
                 from /home/rcasellas/cttc-pce/pce/protocol/detail/grammars.hpp:4,
                 from /home/rcasellas/cttc-pce/pce/protocol/message_parser.hpp:5,
                 from /home/rcasellas/cttc-pce/pce/connection.cpp:29:
/usr/local/include/boost/spirit/home/qi/detail/attributes.hpp: In static member function ‘static void boost::spirit::qi::default_transform_attribute<Exposed, Transformed>::post(Exposed&, const Transformed&)’:
/usr/local/include/boost/spirit/home/qi/detail/attributes.hpp:25:13: error: ‘assign_to’ is not a member of ‘boost::spirit::traits’

gcc -v

Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-linux-gnu/4.5.1/lto-wrapper
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.5.0-2ubuntu1~ppa2' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,java,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --program-suffix=-4.5 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --with-plugin-ld=ld.gold --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.5/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.5 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.5 --with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=yes --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.5.1 20100419 (prerelease) (Ubuntu 4.5.0-2ubuntu1~ppa2) 

Thank you R.

Change History (1)

comment:1 by Hartmut Kaiser, 12 years ago

Resolution: fixed
Status: newclosed

That's fixed now

Note: See TracTickets for help on using tickets.