Akonadi: fix compilation with clang
ClosedPublic

Authored by dfaure on May 8 2019, 12:57 AM.

Details

Summary

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

Test Plan

Builds

Diff Detail

Repository
R165 Akonadi
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dfaure created this revision.May 8 2019, 12:57 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptMay 8 2019, 12:57 AM
dfaure requested review of this revision.May 8 2019, 12:57 AM

Hmm, isn't this a problem of libc++ vs libstdc++ rather than Clang itself? I'm building Akonadi with Clang and libstdc++ and it builds just fine.

dfaure updated this revision to Diff 57795.May 9 2019, 9:05 AM

Check for libc++, not for clang.

dvratil accepted this revision.May 9 2019, 10:35 AM

Thanks!

This revision is now accepted and ready to land.May 9 2019, 10:35 AM
This revision was automatically updated to reflect the committed changes.