This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: [nms.mail.egcs] Re: Announcing libstdc++-2.90.5
- To: libstdc++@sourceware.cygnus.com
- Subject: Re: [nms.mail.egcs] Re: Announcing libstdc++-2.90.5
- From: Marc Girod <girod@stybba.ntc.nokia.com>
- Date: 23 May 1999 20:55:05 +0300
- References: <1yso8oytfn.fsf@anvil.ntc.nokia.com>
Hello,
>>>> bk == benjamin kosnik <bkoz@nabi.net>
bk> I'll look into this. Preliminary findings indicate that this is
bk> what should be in isofwd.h instead of what's currently there.
bk> typedef fpos<char_traits<char>::state_type> streampos;
Well, this doesn't work since char_traits is only forward declared in
std_iosfwd.h... which is the reason for the:
typedef fpos<mbstate_t> streampos;
This is because state_type is a typedef for mbstate_t whatever the
parameterizing type of char_traits.
bk> Where mbstate_t is defined in <cwchar>.
How? I find in std_cwchar.h:
# include_next <wchar.h>
and in wchar.h:
using ::std::mbstate_t;
anyway, it is found somewhere in linux, but not in HP-UX 10.20!
bk> It looks like char_traits.h should provide a definition for it.
char_traits.h looks like it gets the definition from fpos.h, and this
one from libio.h, and this I dont't know from where...
Best Regards!
Marc
--
Marc Girod Hiomo 5/1 Voice: +358-9-511 23746
Nokia Telecommunications P.O. Box 320 Mobile: +358-40-569 7954
NWS/NMS/NMS for Data 00045 NOKIA Group Fax: +358-9-511 23580
Finland girod@shire.ntc.nokia.com