compile error c++
C++ library for creating XLSX files for MS Excel 2007 and above.
Brought to you by:
oxod,
programmeralex
error
:\novavarredura\emdesenvolvimento\cck_csv\simplexlsxdef.h(57) : error C2664: '__thiscall std::basic_string<unsigned short,struct="" std::char_traits\<unsigned="" short="">,class std::allocator\<unsigned short=""> >::std::basic_string<unsigned short,struct="" std::c="" har_traits\<unsigned="" short="">,class std::allocator\<unsigned short=""> >(const unsigned short ,unsigned int,const class std::allocator<unsigned short=""> &)' : cannot convert parameter 1 from 'char </unsigned>' to 'const unsigned short '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
c:\novavarredura\emdesenvolvimento\cck_csv\simplexlsxdef.h(58) : error C2664: '__thiscall std::basic_string<unsigned short,struct="" std::char_traits\<unsigned="" short="">,class std::allocator\<unsigned short=""> >::std::basic_string<unsigned short,struct="" std::c="" har_traits\<unsigned="" short="">,class std::allocator\<unsigned short=""> >(const unsigned short </unsigned></unsigned></unsigned></unsigned>,unsigned int,const class std::allocator<unsigned short=""> &)' : cannot convert parameter 1 from 'char ' to 'const unsigned short '
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast</unsigned></unsigned></unsigned></unsigned></unsigned>
Hello CARLOS EDUARDO PIRES DE SÁ,
Thanks for the feedback.
What version of the compiler and its launch options? What version of the operating system?
Can you provide a minimal example of a program with such an error?