I've built the CopperSpice libraries using MSVC-2019 and used them to build KitchenSink
and Diamond just fine. And both programs works fine.
But using clang-cl (the supposedly 100% compatible MSVC compiler driver) to compile Diamond, I'm getting
17 unresolved link errors for these symbols:
__declspec(dllimport) public: __thiscall Cs::QRegularExpression<class QString8>::QRegularExpression<class QString8>(class Cs::QRegularExpression<class QString8> &&)
__declspec(dllimport) public: __thiscall Cs::QRegularExpression<class QString8>::QRegularExpression<class QString8>(class Cs::QRegularExpression<class QString8> const &)
__declspec(dllimport) public: __thiscall Cs::QRegularExpression<class QString8>::QRegularExpression<class QString8>(class QString8 const &,class QFlags<enum QPatternOption>)
__declspec(dllimport) public: __thiscall Cs::QRegularExpression<class QString8>::QRegularExpression<class QString8>(void)
__declspec(dllimport) public: __thiscall Cs::QRegularExpression<class QString8>::~QRegularExpression<class QString8>(void)
__declspec(dllimport) public: __thiscall Cs::QRegularExpressionMatch<class QString8>::QRegularExpressionMatch<class QString8>(void)
__declspec(dllimport) public: __thiscall Cs::QRegularExpressionMatch<class QString8>::~QRegularExpressionMatch<class QString8>(void)
__declspec(dllimport) public: bool __thiscall Cs::QRegularExpressionMatch<class QString8>::hasMatch(void)const
__declspec(dllimport) public: class Cs::QRegularExpression<class QString8> & __thiscall Cs::QRegularExpression<class QString8>::operator=(class Cs::QRegularExpression<class QString8> &&)
__declspec(dllimport) public: class Cs::QRegularExpression<class QString8> & __thiscall Cs::QRegularExpression<class QString8>::operator=(class Cs::QRegularExpression<class QString8> const &)
__declspec(dllimport) public: class Cs::QRegularExpressionMatch<class QString8> & __thiscall Cs::QRegularExpressionMatch<class QString8>::operator=(class Cs::QRegularExpressionMatch<class QString8> &&)
__declspec(dllimport) public: class Cs::QRegularExpressionMatch<class QString8> __thiscall Cs::QRegularExpression<class QString8>::match(class QString8 const &)const
__declspec(dllimport) public: class Cs::QRegularExpressionMatch<class QString8> __thiscall Cs::QRegularExpression<class QString8>::match(class QString8 const &,class QString8::const_iterator,enum QMatchType,class QFlags<enum QMatchOption>)const
__declspec(dllimport) public: class QString8::const_iterator __thiscall Cs::QRegularExpressionMatch<class QString8>::capturedEnd(int)const
__declspec(dllimport) public: class QString8::const_iterator __thiscall Cs::QRegularExpressionMatch<class QString8>::capturedStart(int)const
__declspec(dllimport) public: int __thiscall Cs::QRegularExpressionMatch<class QString8>::capturedLength(int)const
__declspec(dllimport) public: void __thiscall Cs::QRegularExpression<class QString8>::setPatternOptions(class QFlags<enum QPatternOption>)
in search.obj and syntax.obj.
I suspect there's is an issue with the cl option -Zc:wchar_t that clang-cl does not like.
Or how some UTF-8 issue (?). Any pointers on this?
I've built the CopperSpice libraries using MSVC-2019 and used them to build KitchenSink
and Diamond just fine. And both programs works fine.
But using
clang-cl(the supposedly 100% compatible MSVC compiler driver) to compile Diamond, I'm getting17 unresolved link errors for these symbols:
in
search.objandsyntax.obj.I suspect there's is an issue with the
cloption-Zc:wchar_tthatclang-cldoes not like.Or how some UTF-8 issue (?). Any pointers on this?