Boost C++ Libraries: Ticket #9316: boost::log::v2_mt_posix::expressions::aux::unary_function_terminal compilation errors https://svn.boost.org/trac10/ticket/9316 <p> I'm trying to build boost-1.54 on Redhat Enterprise Linux 5 32bit with gcc-4.1.2 and I get numerous errors compiling log library. </p> <p> Some of the errors are like these: </p> <pre class="wiki">./boost/utility/result_of.hpp:174: error: invalid use of undefined type ‘struct boost::log::v2_mt_posix::expressions::aux::unary_function_terminal&lt;boost::log::v2_mt_posix::expressions::has_attribute&lt;void&gt; &gt;::result&lt;const boost::log::v2_mt_posix::expressions::aux::unary_function_terminal&lt;boost::log::v2_mt_posix::expressions::has_attribute&lt;void&gt; &gt; ()(boost::phoenix::vector2&lt;boost::phoenix::vector2&lt;const boost::phoenix::actor&lt;boost::proto::exprns_::expr&lt;boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term&lt;boost::log::v2_mt_posix::expressions::aux::unary_function_terminal&lt;boost::log::v2_mt_posix::expressions::has_attribute&lt;void&gt; &gt; &gt;, 0l&gt; &gt;*, const boost::log::v2_mt_posix::attribute_value_set&amp;&gt;&amp;, const boost::phoenix::default_actions&amp;&gt;)&gt;’ ./boost/log/detail/unary_function_terminal.hpp:63: error: declaration of ‘struct boost::log::v2_mt_posix::expressions::aux::unary_function_terminal&lt;boost::log::v2_mt_posix::expressions::has_attribute&lt;void&gt; &gt;::result&lt;const boost::log::v2_mt_posix::expressions::aux::unary_function_terminal&lt;boost::log::v2_mt_posix::expressions::has_attribute&lt;void&gt; &gt; ()(boost::phoenix::vector2&lt;boost::phoenix::vector2&lt;const boost::phoenix::actor&lt;boost::proto::exprns_::expr&lt;boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term&lt;boost::log::v2_mt_posix::expressions::aux::unary_function_terminal&lt;boost::log::v2_mt_posix::expressions::has_attribute&lt;void&gt; &gt; &gt;, 0l&gt; &gt;*, const boost::log::v2_mt_posix::attribute_value_set&amp;&gt;&amp;, const boost::phoenix::default_actions&amp;&gt;)&gt;’ ./boost/log/detail/custom_terminal_spec.hpp:54: error: no type named ‘type’ in ‘struct boost::result_of&lt;const boost::log::v2_mt_posix::expressions::aux::unary_function_terminal&lt;boost::log::v2_mt_posix::expressions::has_attribute&lt;void&gt; &gt; ()(boost::phoenix::vector2&lt;boost::phoenix::vector2&lt;const boost::phoenix::actor&lt;boost::proto::exprns_::expr&lt;boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term&lt;boost::log::v2_mt_posix::expressions::aux::unary_function_terminal&lt;boost::log::v2_mt_posix::expressions::has_attribute&lt;void&gt; &gt; &gt;, 0l&gt; &gt;*, const boost::log::v2_mt_posix::attribute_value_set&amp;&gt;&amp;, const boost::phoenix::default_actions&amp;&gt;)&gt;’ ./boost/log/detail/light_function_pp.hpp:77: error: no match for call to ‘(boost::phoenix::actor&lt;boost::log::v2_mt_posix::expressions::aux::unary_function_terminal&lt;boost::log::v2_mt_posix::expressions::has_attribute&lt;void&gt; &gt; &gt;) (const boost::log::v2_mt_posix::attribute_value_set&amp;)’ </pre><p> Attaching full log with more errors. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9316 Trac 1.4.3 Dmitry <dmitry.yudakov@…> Tue, 29 Oct 2013 12:57:55 GMT attachment set https://svn.boost.org/trac10/ticket/9316 https://svn.boost.org/trac10/ticket/9316 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost_log_compilation_errors.txt.bz2</span> </li> </ul> <p> full compilation log </p> Ticket Andrey Semashev Tue, 29 Oct 2013 13:08:48 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9316#comment:1 https://svn.boost.org/trac10/ticket/9316#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">wontfix</span> </li> </ul> <p> I'm sorry, your compiler is too old and unsupported. Please, upgrade to a newer gcc version (4.6 and later should work fine). </p> Ticket