GVLayout class has incorrect linkage
MSVC seems upset about the definition of GVLayout
:
GVLayout.cpp
C:\GitLab-Runner\builds\smattr\graphviz\lib\gvc++\GVLayout.h(50,35): warning C4251: 'GVC::GVLayout::m_gvc': class 'std::shared_ptr<GVC::GVContext>' needs to have dll-interface to be used by clients of class 'GVC::GVLayout' [C:\GitLab-Runner\builds\smattr\graphviz\build\lib\gvc++\gvc++.vcxproj]
C:\GitLab-Runner\builds\smattr\graphviz\lib\gvc++\GVLayout.h(29): message : see declaration of 'std::shared_ptr<GVC::GVContext>' [C:\GitLab-Runner\builds\smattr\graphviz\build\lib\gvc++\gvc++.vcxproj]
C:\GitLab-Runner\builds\smattr\graphviz\lib\gvc++\GVLayout.h(51,38): warning C4251: 'GVC::GVLayout::m_g': class 'std::shared_ptr<CGraph::AGraph>' needs to have dll-interface to be used by clients of class 'GVC::GVLayout' [C:\GitLab-Runner\builds\smattr\graphviz\build\lib\gvc++\gvc++.vcxproj]
C:\GitLab-Runner\builds\smattr\graphviz\lib\gvc++\GVLayout.h(30): message : see declaration of 'std::shared_ptr<CGraph::AGraph>' [C:\GitLab-Runner\builds\smattr\graphviz\build\lib\gvc++\gvc++.vcxproj]
Edited by Magnus Jacobsson