Boost logo

Boost :

Subject: Re: [boost] [statechart] Undefined type
From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2010-03-12 03:53:56


>> So does VS2008. Frankly, I'm not sure whether GCC is too lazy or VS too
>> eager. But it shouldn't matter, if the whole machine is in one TU, you
>> should be able to fix this by shuffling around includes (unless I'm
>> missing
>> something).
>
> Ok. By TU I take that to be one cpp file with its includes. For
> maintenance reasons it appears the model was broken up into multiple cpp
> files.

Ok, please disregard my previous post then.

> It seems the model was structured under gcc that every inner level is a
> new header that just includes its parent, but not any children (inners).

Ok, just so that I understand the organization of the GCC source correctly:
What does the cpp that contains the call to state_machine<>.initiate()
include *directly* and *indirectly*? From your description, it only includes
some of the headers defining the states, correct?

-- 
Andreas Huber
When replying by private email, please remove the words spam and trap
from the address shown in the header. 

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk