This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libstdc++] Don't access fpos_t.__state on uClibc w/o wchar support
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Pétur Runólfsson <peturr02 at ru dot is>
- Cc: "Bernardo Innocenti" <bernie at develer dot com>, "GCC Patches" <gcc-patches at gcc dot gnu dot org>, <libstdc++ at gcc dot gnu dot org>
- Date: 23 Sep 2003 09:55:17 +0200
- Subject: Re: [libstdc++] Don't access fpos_t.__state on uClibc w/o wchar support
- Organization: Integrable Solutions
- References: <07D05A69A3D0C14FAEA60C3ACE8E5564028F55C8@mail.ru.is>
Pétur Runólfsson <peturr02@ru.is> writes:
| Gabriel Dos Reis wrote:
| >Why can't you use the standard idiom
| >
| > #if _GLIBCXX_USE_WCHAR_T
|
| This won't work because fpos<mbstate_t> is also used for narrow streams.
then we've get a design problem then.
| The correct fix for this is to not implement fpos<> in terms of fpos_t,
| which is how things were until this checkin:
|
| 2003-07-03 Benjamin Kosnik <bkoz@redhat.com>
I'll let Benjamin to comment -- but there'll be some delay.
-- Gaby