[sisyphus] Unicode support vs ANSI

Andrii Dobrovol`s`kii =?iso-8859-1?q?dobr_=CE=C1_iop=2Ekiev=2Eua?=
Вт Май 8 15:48:47 MSD 2007


Hi,
Есть програмка. Написана на Си и требует только wxWindow, со слов
автора. Попытался собрать и
make
 /home/andriy/RPM/BUILD/easyfunktion-6.01/bk-deps g++ -c -o ef6_ef.o
 -I./inc -I на WX_DIR@/contrib/include -DEFMULTITHREAD -DEFHTMLHELP
 -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8
 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -pthread
 --permissive -g -O2 ././src/ef.cpp
 ./inc/efedit.h: In member function 'void TEFEdit::UnlockBuffer(const
 char*)':
 ./inc/efedit.h:395: error: no matching function for call to
 'MGPStr::SetStr(const wchar_t [1])'
 ./inc/faststr.h:162: note: candidates are: bool
 FastString<T>::SetStr(const T*) [with T = char]
 ./inc/faststr.h:170: note:                 bool
 FastString<T>::SetStr(const FastString<T>&) [with T = char]
 ././src/ef.cpp: In member function 'void MyApp::GetLocaleLDV()':
 ././src/ef.cpp:523: error: cannot convert 'char*' to 'const
 wchar_t*' for argument '1' to 'int wcscmp(const wchar_t*, const
 wchar_t*)'
 make: *** [ef6_ef.o] Error 1

Автор предлагает собирать без Юникода. Но, нужна именно версия
2.8.Х. Можно как-то разрулить ситуацию малой кровью?
-- 
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua            Kyiv, Ukraine
Phone: (380-44)   525-7824            Department of Gas Electronics
Fax:   (380-44)   525-2329             Institute of Physics of NASU
*********************dobrATjabber.iop.kiev.ua************************

----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : signature.asc
Тип     : application/pgp-signature
Размер  : 189 байтов
Описание: OpenPGP digital signature
Url     : <http://lists.altlinux.org/pipermail/sisyphus/attachments/20070508/fb33fab7/attachment-0003.bin>


Подробная информация о списке рассылки Sisyphus