Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65641 - trunk/boost/msm/back
From: christophe.j.henry_at_[hidden]
Date: 2010-09-27 14:54:39


Author: chenry
Date: 2010-09-27 14:54:37 EDT (Mon, 27 Sep 2010)
New Revision: 65641
URL: http://svn.boost.org/trac/boost/changeset/65641

Log:
test workaround IBM compiler error
Text files modified:
   trunk/boost/msm/back/state_machine.hpp | 7 +++++++
   1 files changed, 7 insertions(+), 0 deletions(-)

Modified: trunk/boost/msm/back/state_machine.hpp
==============================================================================
--- trunk/boost/msm/back/state_machine.hpp (original)
+++ trunk/boost/msm/back/state_machine.hpp 2010-09-27 14:54:37 EDT (Mon, 27 Sep 2010)
@@ -2064,12 +2064,19 @@
         m_history.history_exit(this->m_states);
      }
 
+ // the IBM compiler seems to have problems with the friend declaration of dispatch_table
+#ifdef __IBMCPP__
+ public:
+#endif
     // no transition for event.
     template <class Event>
     static HandledEnum call_no_transition(library_sm& , int , int , Event const& )
     {
         return HANDLED_FALSE;
     }
+#ifdef __IBMCPP__
+ private:
+#endif
     // called for deferred events. Address set in the dispatch_table at init
     template <class Event>
     static HandledEnum defer_transition(library_sm& fsm, int , int , Event const& e)


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk