Boost C++ Libraries: Ticket #4124: GCC 4.5 error with spirit 2.X on boost trunk https://svn.boost.org/trac10/ticket/4124 <p> Not sure if it is due to using gcc 4.5 the page <a href="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">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</a> </p> <p> shows a related error </p> <pre class="wiki">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&lt;Exposed, Transformed&gt;::post(Exposed&amp;, const Transformed&amp;)’: /usr/local/include/boost/spirit/home/qi/detail/attributes.hpp:25:13: error: ‘assign_to’ is not a member of ‘boost::spirit::traits’ </pre><p> gcc -v </p> <pre class="wiki">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) </pre><p> Thank you R. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4124 Trac 1.4.3 Hartmut Kaiser Mon, 02 Aug 2010 15:34:00 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4124#comment:1 https://svn.boost.org/trac10/ticket/4124#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> That's fixed now </p> Ticket