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: Pétur Runólfsson <peturr02 at ru dot is>
- To: "Gabriel Dos Reis" <gdr at integrable-solutions dot net>
- 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: Wed, 24 Sep 2003 11:18:12 -0000
- Subject: RE: [libstdc++] Don't access fpos_t.__state on uClibc w/o wchar support
Gabriel Dos Reis wrote:
> | This won't work because fpos<mbstate_t> is also used for narrow streams.
>
> then we've get a design problem then.
This is required by the standard (char_traits<char>::pos_type is
streampos which is fpos<mbstate_t>), so there is not much that can
be done about it.
Petur