$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-users] [state-chart] Problem compiling a statemachine with "class" instead of "struct"
From: Igor R (boost.lists_at_[hidden])
Date: 2009-02-12 05:25:41
>
> and use it in our code, everything compiles fine. As soon as we
> change the declaration to
>
> class Active : public boost::statechart::simple_state< Active,
> PRX5StateMachine >
>
> we get massive compiler errors, which look like this:
In "struct" its memebers have "public" access by default. In you define a
"class", ensure that all the symbols needed by the framework are accessible
(eg., that "reactions" typedef is public)