Add KDEVPLATFORMSHELL_EXPORT annotations to ProblemStoreNode classes.
ClosedPublic

Authored by arrowd on Jun 6 2018, 7:32 PM.

Details

Summary

Without marking these classes as exported, dynamic_cast<>'s on them fail. This was causing test_problemstore to fail on FreeBSD.
This problem can be made visible if you move ProblemStoreNode constructor into a .cpp belonging to KDevPlatformShell library. The test_problemstore would fail to link then, due to unresolved references to "typeinfo".

Test Plan

test_problemstore now passes on FreeBSD

Diff Detail

Repository
R32 KDevelop
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
arrowd created this revision.Jun 6 2018, 7:32 PM
Restricted Application added a project: KDevelop. · View Herald TranscriptJun 6 2018, 7:32 PM
Restricted Application added a subscriber: kdevelop-devel. · View Herald Transcript
arrowd requested review of this revision.Jun 6 2018, 7:32 PM
kfunk accepted this revision.Jun 6 2018, 8:13 PM
This revision is now accepted and ready to land.Jun 6 2018, 8:13 PM
This revision was automatically updated to reflect the committed changes.