tfussell / xlnt

:bar_chart: Cross-platform user-friendly xlsx library for C++11+
Other
1.43k stars 402 forks source link

clang on Windows not happy about __declspec(dllimport) in .cpp #694

Open alexeyv opened 1 year ago

alexeyv commented 1 year ago

Clone xlnt on Windows, try to build it using clang. Build fails with:

source/utils/variant.cpp:154:31: error: dllimport cannot be applied to non-inline function definition
XLNT_API std::string variant::get() const