Boost logo

Boost Users :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2006-08-15 02:48:02


Andreas Huber wrote:
> Johan Nilsson wrote:

[snip]

>> Thank you! It works perfectly.
>
> I forgot to mention that this only works portably if you are compiling
> with BOOST_STATECHART_USE_NATIVE_RTTI defined. It works always with
> GCC as state_base has a virtual dtor to avoid compiler warnings.
> Here's the habit again ;-)...

Oops, I didn't define that and the code works under VC8 and GCC 4. Did I
just get lucky, or is the macro defined by default?

/ Johan


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net