warning when using dynamic link on Windows
Env
- Visual Studio 2019
- Windows 10
- poppler 20.11.0
- arch x64
Reproduce
- code
#include <poppler/cpp/poppler-page.h>
int main()
{
return 0;
}
- warning when building
poppler\cpp\poppler-page.h(134,42): warning C4251: 'poppler::text_box::m_data': class 'std::unique_ptr<poppler::text_box_data,std::default_delete<poppler::text_box_data>>' needs to have dll-interface to be used by clients of class 'poppler::text_box'
Edited by a b