N
Nindi
Hi
I have a scenario with exceptions that I cannot explain.
I have an exception class 'MyException' derived from 'std::exception'
There are two libraries 'plugin' and 'framework' linked together by
loading at runtime.
The issue is that an exception of type 'MyException' is being thrown in
'plugin' and caught in 'framework', but some throws get caught by the
'MyExeption' handler and some some throws get caught by the
'std::exception' handler, in the same try-catch block.
Has anybody got any ideas what could possibly cause this to happen ?
I only get this problem when building with gcc on Linux, I do not have
this problem with msvc
Cheers
N
I have a scenario with exceptions that I cannot explain.
I have an exception class 'MyException' derived from 'std::exception'
There are two libraries 'plugin' and 'framework' linked together by
loading at runtime.
The issue is that an exception of type 'MyException' is being thrown in
'plugin' and caught in 'framework', but some throws get caught by the
'MyExeption' handler and some some throws get caught by the
'std::exception' handler, in the same try-catch block.
Has anybody got any ideas what could possibly cause this to happen ?
I only get this problem when building with gcc on Linux, I do not have
this problem with msvc
Cheers
N