[Boost-bugs] [Boost C++ Libraries] #5117: back/state_machine.hpp doesn`t compile with gcc 4.0.x version

Subject: [Boost-bugs] [Boost C++ Libraries] #5117: back/state_machine.hpp doesn`t compile with gcc 4.0.x version
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-01-25 10:56:48


#5117: back/state_machine.hpp doesn`t compile with gcc 4.0.x version
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner: chenry
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: msm
  Version: Boost 1.45.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 Here is small patch that resolve problem.

 Compilation errors look like following:

 /home/esuitebuild/boost_1_45_0/boost/msm/back/state_machine.hpp:2192:
 error: 'template<class StateType> typename boost::enable_if<typename
 boost::msm::back::is_no_message_queue<StateType>:\
 :type, void>::type
 boost::msm::back::state_machine::process_message_queue(StateType*) [with
 StateType = StateType, Derived =
 net2::proto::a2s::client::machine_fe_t::st_connected_, HistoryP\
 olicy = boost::msm::back::NoHistory, CompilePolicy =
 boost::msm::back::favor_runtime_speed]' cannot be overloaded
 /home/esuitebuild/boost_1_45_0/boost/msm/back/state_machine.hpp:2181:
 error: with 'template<class StateType> typename boost::disable_if<typename
 boost::msm::back::is_no_message_queue<State\
 Type>::type, void>::type
 boost::msm::back::state_machine::process_message_queue(StateType*) [with
 StateType = StateType, Derived =
 net2::proto::a2s::client::machine_fe_t::st_connected_, Hi\
 storyPolicy = boost::msm::back::NoHistory, CompilePolicy =
 boost::msm::back::favor_runtime_speed]'
 /home/esuitebuild/boost_1_45_0/boost/msm/back/state_machine.hpp: In
 instantiation of
 'boost::msm::back::state_machine<net2::proto::a2s::client::machine_fe_t,
 boost::msm::back::NoHistory, b\
 oost::msm::back::favor_runtime_speed>':
 /home/esuitebuild/boost_1_45_0/boost/msm/back/state_machine.hpp:2192:
 error: 'template<class StateType> typename boost::enable_if<typename
 boost::msm::back::is_no_message_queue<StateType>:\
 :type, void>::type
 boost::msm::back::state_machine::process_message_queue(StateType*) [with
 StateType = StateType, Derived = net2::proto::a2s::client::machine_fe_t,
 HistoryPolicy = boost::\
 msm::back::NoHistory, CompilePolicy =
 boost::msm::back::favor_runtime_speed]' cannot be overloaded
 /home/esuitebuild/boost_1_45_0/boost/msm/back/state_machine.hpp:2181:
 error: with 'template<class StateType> typename boost::disable_if<typename
 boost::msm::back::is_no_message_queue<State\
 Type>::type, void>::type
 boost::msm::back::state_machine::process_message_queue(StateType*) [with
 StateType = StateType, Derived = net2::proto::a2s::client::machine_fe_t,
 HistoryPolicy = b\
 oost::msm::back::NoHistory, CompilePolicy =
 boost::msm::back::favor_runtime_speed]'

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5117>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:05 UTC