This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: solaris status
- To: libstdc++ at sources dot redhat dot com
- Subject: Re: solaris status
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Wed, 23 Aug 2000 15:08:16 -0400
- References: <200008222150.OAA06729@purist.soma.redhat.com>
On Tue, Aug 22, 2000 at 02:50:24PM -0700, Benjamin Kosnik wrote:
> libio/Makefile.am: the c_codecvt.c file should be conditionally
> compiled when _GLIBCPP_USE_WCHAR_T etc.
[...]
> _IO_wide_data: Yeah. You should be able to just do a dummy declaration
> (see the config work for mbstate_t (see bits/std_cwchar.h as well.)
[22.2.1.5]/1 would seem to indicate that in a world without wide characters,
such as the world of --disable-wchar, codecvt<> isn't needed at all.
That threw me, so my patch this morning (last night) conditionally avoided
too much stuff. I re-read that section today.
Even if wide characters aren't being used, we still need full definitions
of mbstate, __enc_traits, and so forth. I'm working on Solaris now... but
I'll wait before I check anything in.
(It's like a game... can I remove/break wide char support as fast as
Benjamin adds it?)
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.