From 48a6b4b57a1246ded75ffc0ed620c7a6b01621be Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Sun, 31 Dec 2017 09:54:47 -0800 Subject: [PATCH] Exceptions have to be exported from DSO's too to make the recognized in catch statements. --- src/tl/tl/tlException.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tl/tl/tlException.h b/src/tl/tl/tlException.h index 306af3c95..0b1baafc0 100644 --- a/src/tl/tl/tlException.h +++ b/src/tl/tl/tlException.h @@ -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)