Yeah, I guess large projects like JSMESS might run into that. Ok, I pushed some fixes that allow this case, let me know if that resolves the issue for you.
I have not checked if "crossing" c++ exceptions in flight with longjmps similarly in flight would work - but come to think of it, I'm not sure that ever worked in the original compiler either. - Alon On Tue, Jan 21, 2014 at 7:32 AM, Justin Kerk <[email protected]>wrote: > On 1/20/2014 4:08 PM, Alon Zakai wrote: > >> I also took a shortcut in that C++ exceptions will not work together with >> setjmp, that is fixable but i'm not sure how important to prioritize that - >> please let me know if you have a codebase using both, and in what way. >> > > Compiling JSMESS bombs out with the error that you can't use both. AFAIK > they are in different areas of the codebase (e.g. the MAME device system > uses exceptions, but we also incorporate libflac which uses setjmp). > > > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
