Exceptions have to be exported from DSO's too to make the recognized in catch statements.

This commit is contained in:
Matthias Koefferlein 2017-12-31 09:54:47 -08:00
parent 2084a7e85c
commit 48a6b4b57a
1 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ private:
* @brief A "neutral" exception thrown to terminate some operation
* This exception is not shown.
*/
struct CancelException
struct TL_PUBLIC CancelException
: public Exception
{
CancelException ()
@ -148,7 +148,7 @@ struct CancelException
/**
* @brief A special "internal" exception class used by tl_assert
*/
struct InternalException
struct TL_PUBLIC InternalException
: public Exception
{
InternalException (const char *file, int line, const char *cond)