Hi,

Is anyone looking into this. Actually my team is blocked by this issue. Or 
can anyone please tell me any workaround.

Regards,
Rohit Saini

On Monday, February 3, 2020 at 9:57:24 PM UTC+5:30, Rohit Saini wrote:
>
> Hi All,
>
> We made a update to 1.39.6 recently . Previously we were on 1.38.34 and 
> using *-s DISABLE_EXCEPTION_CATCHING=2 
> -s EXCEPTION_CATCHING_WHITELIST="@whitelist.txt"*, and it was working 
> fine.
> But in latest upstream it seems to be stopped working.
>
> I wrote a small program to verify that, it is not working with this 
> program as well.
>
> #include <iostream>
> #include "emscripten.h"
> using namespace std;
>
> extern "C"
> void fun() {
>    try {
>       throw 10000;
>    } catch(...) {
>       cout<<"hello"<<endl;
>    }
> }
> int main () {
>    fun();
>    return 0;
> }
>
> I run this command 
> emcc test.cpp -s DISABLE_EXCEPTION_CATCHING=2 -s 
> EXCEPTION_CATCHING_WHITELIST=["_fun"] -o test.html
> with 1.38.34 it's working fine and printing *hello*, but with 1.39.6 
> function is not catching exception and "*uncaught exception*" is printing 
> on console.
>
> Regards,
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/emscripten-discuss/66838d03-18e0-4574-8ed4-8dcf4543c54b%40googlegroups.com.

Reply via email to