Have a lot of errors C2440: static_cast: невозможно преобразовать "const CharType *" в "const char *"
1>------ Сборка начата: проект: boost_locale, Конфигурация: Debug x64 ------ 1>message.cpp 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(439,1): error C2440: static_cast: невозможно преобразовать "const CharType *" в "const char *" 1> with 1> [ 1> CharType=wchar_t 1> ] 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(439,37): message : Типы, на которые указывают указатели, не связаны; для преобразования требуется reinterpret_cast, приведение в стиле С или приведение в стиле функции 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(431): message : во время компиляции функции-члена класс шаблон "size_t boost::locale::gnu_gettext::hash_function<CharType>::operator ()(const boost::locale::gnu_gettext::message_key<CharType> &) const" 1> with 1> [ 1> CharType=wchar_t 1> ] 1>D:\boost\boost_1_68_0\boost/unordered/detail/implementation.hpp(2623): message : выполняется компиляция ссылки на экземпляр шаблон функции "size_t boost::locale::gnu_gettext::hash_function<CharType>::operator ()(const boost::locale::gnu_gettext::message_key<CharType> &) const" 1> with 1> [ 1> CharType=wchar_t 1> ] 1>D:\boost\boost_1_68_0\boost/type_traits/is_nothrow_move_assignable.hpp(29): message : выполняется компиляция ссылки на экземпляр класс шаблон функции "boost::locale::gnu_gettext::hash_function<CharType>" 1> with 1> [ 1> CharType=wchar_t 1> ] 1>D:\boost\boost_1_68_0\boost/unordered/detail/implementation.hpp(2739): message : выполняется компиляция ссылки на экземпляр класс шаблон функции "boost::is_nothrow_move_assignable<H>" 1> with 1> [ 1> H=boost::locale::gnu_gettext::hash_function<wchar_t> 1> ] 1>D:\boost\boost_1_68_0\boost/unordered/detail/implementation.hpp(2902): message : выполняется компиляция ссылки на экземпляр класс шаблон функции "boost::unordered::detail::functions<boost::locale::gnu_gettext::hash_function<CharType>,std::equal_to<K>>" 1> with 1> [ 1> CharType=wchar_t, 1> K=boost::locale::gnu_gettext::message_key<wchar_t> 1> ] 1>D:\boost\boost_1_68_0\boost/unordered/unordered_map.hpp(60): message : выполняется компиляция ссылки на экземпляр класс шаблон функции "boost::unordered::detail::table<boost::unordered::detail::map<A,K,T,H,P>>" 1> with 1> [ 1> A=std::allocator<std::pair<const boost::locale::gnu_gettext::message_key<wchar_t>,std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>>>, 1> K=boost::locale::gnu_gettext::message_key<wchar_t>, 1> T=std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>, 1> H=boost::locale::gnu_gettext::hash_function<wchar_t>, 1> P=std::equal_to<boost::locale::gnu_gettext::message_key<wchar_t>> 1> ] 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(733): message : выполняется компиляция ссылки на экземпляр класс шаблон функции "boost::unordered::unordered_map<boost::locale::gnu_gettext::message_key<CharType>,std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>>,boost::locale::gnu_gettext::hash_function<CharType>,std::equal_to<K>,std::allocator<std::pair<const K,T>>>" 1> with 1> [ 1> CharType=wchar_t, 1> K=boost::locale::gnu_gettext::message_key<wchar_t>, 1> T=std::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>> 1> ] 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(723): message : во время компиляции функции-члена класс шаблон "std::pair<const CharType *,const CharType *> boost::locale::gnu_gettext::mo_message<CharType>::get_string(int,const wchar_t *,const wchar_t *) const" 1> with 1> [ 1> CharType=wchar_t 1> ] 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(512): message : выполняется компиляция ссылки на экземпляр шаблон функции "std::pair<const CharType *,const CharType *> boost::locale::gnu_gettext::mo_message<CharType>::get_string(int,const wchar_t *,const wchar_t *) const" 1> with 1> [ 1> CharType=wchar_t 1> ] 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(760): message : выполняется компиляция ссылки на экземпляр класс шаблон функции "boost::locale::gnu_gettext::mo_message<wchar_t>" 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(440,1): error C2440: static_cast: невозможно преобразовать "const CharType *" в "const char *" 1> with 1> [ 1> CharType=wchar_t 1> ] 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(440,37): message : Типы, на которые указывают указатели, не связаны; для преобразования требуется reinterpret_cast, приведение в стиле С или приведение в стиле функции 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(438,52): error C2661: boost::locale::gnu_gettext::pj_winberger_hash::update_state: нет перегруженной функции, принимающей 1 аргументов 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(448,1): error C2440: static_cast: невозможно преобразовать "const CharType *" в "const char *" 1> with 1> [ 1> CharType=wchar_t 1> ] 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(448,33): message : Типы, на которые указывают указатели, не связаны; для преобразования требуется reinterpret_cast, приведение в стиле С или приведение в стиле функции 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(449,1): error C2440: static_cast: невозможно преобразовать "const CharType *" в "const char *" 1> with 1> [ 1> CharType=wchar_t 1> ] 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(449,33): message : Типы, на которые указывают указатели, не связаны; для преобразования требуется reinterpret_cast, приведение в стиле С или приведение в стиле функции 1>D:\cppcms\boost_locale_4.0.0\libs\locale\src\shared\message.cpp(447,48): error C2661: boost::locale::gnu_gettext::pj_winberger_hash::update_state: нет перегруженной функции, принимающей 1 аргументов 1>Сборка проекта "boost_locale.vcxproj" завершена с ошибкой. ========== Сборка: успешно: 0, с ошибками: 1, без изменений: 1, пропущено: 0 ==========