ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] g++ 3.2.1 и wstring
Date: Fri, 7 Feb 2003 17:19:05 +0300
Message-ID: <20030207171905.36bcca64.vsu@altlinux.ru> (raw)
In-Reply-To: <16627211968.20030207165318@mail.ru>

On Fri, 7 Feb 2003 16:53:18 +0300
Dmitry Koudryavtsev <juliasoft@mail.ru> wrote:

> Вот, нарвался непонятно на что... :(
> -fshort-wchar - баг компилятора или мои глюки ?

Это не будет работать по причине

  // Inhibit implicit instantiations for required instantiations,
  // which are defined via explicit instantiations elsewhere.
  // NB: This syntax is a GNU extension.
...
  extern template class basic_string<wchar_t>;

Код для wstring уже сгенерирован и находится в libstdc++, поэтому
просто сменить размер wchar_t не удастся - нужно всё пересобирать.
Либо использовать вместо wchar_t другой тип с определением для него
char_traits и т.п.

Ещё очень неприятно, что теперь нельзя определить __USE_MALLOC - по
тем же самым причинам.


      reply	other threads:[~2003-02-07 14:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-07 13:53 [Comm] g++ 3.2.1 É wstring Dmitry Koudryavtsev
2003-02-07 14:19 ` Sergey Vlasov [this message]

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=20030207171905.36bcca64.vsu@altlinux.ru \
    --to=vsu@altlinux.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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