Commit 24b0e5a6 authored by David Faure's avatar David Faure
Browse files

Akonadi: fix compilation with clang

Summary:
abi::__forced_unwind is gcc specific, apparently.
https://github.com/gabime/spdlog/issues/549

Test Plan: Builds

Reviewers: dvratil

Reviewed By: dvratil

Subscribers: kde-pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D21077
parent ef516b67
......@@ -309,7 +309,7 @@ void Connection::handleIncomingData()
qCWarning(AKONADISERVER_LOG) << "Protocol exception when handling command" << cmd->type()
<< "on connection" << m_identifier << ":" << e.what();
m_connectionClosing = true;
#if defined(Q_OS_LINUX)
#if defined(Q_OS_LINUX) && !defined(_LIBCPP_VERSION)
} catch (abi::__forced_unwind&) {
// HACK: NPTL throws __forced_unwind during thread cancellation and
// we *must* rethrow it otherwise the program aborts. Due to the issue
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment