ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Andrii Dobrovol`s`kii <dobr@iop.kiev.ua>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: [sisyphus] Unicode support vs ANSI
Date: Tue, 08 May 2007 14:48:47 +0300
Message-ID: <4640639F.2070905@iop.kiev.ua> (raw)

[-- Attachment #1: Type: text/plain, Size: 1688 bytes --]

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************************


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2007-05-08 11:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-08 11:48 Andrii Dobrovol`s`kii [this message]
2007-05-08 14:26 ` Andrii Dobrovol`s`kii
2007-05-08 14:43   ` Mikhail Gusarov
2007-05-08 15:06     ` Andrii Dobrovol`s`kii
2007-05-08 15:17       ` Mikhail Gusarov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4640639F.2070905@iop.kiev.ua \
    --to=dobr@iop.kiev.ua \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git