Date: Thu, 8 Feb 2001 10:21:35 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Stephen Silver cc: DJGPP Workers Subject: Re: wctype.h and STLport In-Reply-To: <003d01c09159$23527fe0$f9e4883e@oemcomputer> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Wed, 7 Feb 2001, Stephen Silver wrote: > > > Is there any objection to declaring these functions, even though > > > DJGPP doesn't yet implement them? > > > > I'd rather not declare things we don't have. If you want to > > *implement* them, go ahead, > > Are we assuming that wchar_t represents a Unicode character? > If so, it may not be too difficult to generate the necessary > look-up tables from the data files at unicode.org. But the > table for the isw*() functions would be 64K, and the tables > for towlower() and towupper() would be 128K each, so it would > increase the size of libc.a by over 50%. (Maybe it's possible > to do better than that, but it's still going to be very large.) I suggest to back up a bit, before we turn a minor header update into a major libc rewrite ;-) I'd rather not do this just because STLport says we should. Can you describe what bad things happen if we don't add prototypes for those functions to the header? Perhaps we could find a simpler solution for those adverse effects.