Thanks christophe, when i do nm on the binary i see big symbol for the dispatch table running into pages, is there any way to hide this? ( i was googling for type hiding and found this but not sure how to use this to hide the transition table http://www.boost.org/doc/libs/1_41_0/libs/multi_index/doc/compiler_specifics.html#type_hiding)
cheers
-raj


On Mon, Nov 10, 2014 at 8:32 PM, <christophe.j.henry@gmail.com> wrote:
Hi Raj,
 
>I have been using boost msm, i have two state machines each with around 30 transitions / 4 regions , no submachine etc for now...
>it perfectly fits the bill on what im trying to do, thanks for the great library, one issue i face is ,
>the debug build takes for ever to compile and the size is very big (the optimized one with no debug symbol compiles pretty fast)
>and when errors happens the compiler (template barf) goes for pages and pages .. any hints on this please?
 
What compiler are you using? If VC, the problem could be “Enable minimal rebuild”, g++ is bad with debug, mingw even worse. I don’t know if some compiler options can help (I think I got some slight improvement by playing with –O). In the end, I avoided the problem by switching to clang (half compile time, half memory costs).
 
Cheers,
Christophe

_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users