Opened 9 years ago

Closed 9 years ago

#9316 closed Bugs (wontfix)

boost::log::v2_mt_posix::expressions::aux::unary_function_terminal compilation errors

Reported by: Dmitry <dmitry.yudakov@…> Owned by: Andrey Semashev
Milestone: To Be Determined Component: log
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

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.

Some of the errors are like these:

./boost/utility/result_of.hpp:174: error: invalid use of undefined type ‘struct boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> >::result<const boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > ()(boost::phoenix::vector2<boost::phoenix::vector2<const boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > >, 0l> >*, const boost::log::v2_mt_posix::attribute_value_set&>&, const boost::phoenix::default_actions&>)>’
./boost/log/detail/unary_function_terminal.hpp:63: error: declaration of ‘struct boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> >::result<const boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > ()(boost::phoenix::vector2<boost::phoenix::vector2<const boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > >, 0l> >*, const boost::log::v2_mt_posix::attribute_value_set&>&, const boost::phoenix::default_actions&>)>’
./boost/log/detail/custom_terminal_spec.hpp:54: error: no type named ‘type’ in ‘struct boost::result_of<const boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > ()(boost::phoenix::vector2<boost::phoenix::vector2<const boost::phoenix::actor<boost::proto::exprns_::expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > >, 0l> >*, const boost::log::v2_mt_posix::attribute_value_set&>&, const boost::phoenix::default_actions&>)>’
./boost/log/detail/light_function_pp.hpp:77: error: no match for call to ‘(boost::phoenix::actor<boost::log::v2_mt_posix::expressions::aux::unary_function_terminal<boost::log::v2_mt_posix::expressions::has_attribute<void> > >) (const boost::log::v2_mt_posix::attribute_value_set&)’

Attaching full log with more errors.

Attachments (1)

boost_log_compilation_errors.txt.bz2 (21.1 KB ) - added by Dmitry <dmitry.yudakov@…> 9 years ago.
full compilation log

Download all attachments as: .zip

Change History (2)

by Dmitry <dmitry.yudakov@…>, 9 years ago

full compilation log

comment:1 by Andrey Semashev, 9 years ago

Resolution: wontfix
Status: newclosed

I'm sorry, your compiler is too old and unsupported. Please, upgrade to a newer gcc version (4.6 and later should work fine).

Note: See TracTickets for help on using tickets.