This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Wed, Sep 04, 2002 at 10:01:31AM -0500, Benjamin Kosnik wrote: > > I'm interested in what you are doing but currently am busy with other > things. If you can give me a couple of days I'd appreciate it. I'm working on this partly out of need, but mostly out of interest :) It'll take me at least a couple of days to get up-to-speed on what's going on in that part of the library. > If you can post complete code samples that demonstrate what you are > doing it would be helpful. I will followup with a complete (small) sample program in a few minutes. After getting everything working on i686-pc-linux-gnu, I moved on to my usual cross compilers, targetted for sparc-sun-solaris2.8. Here's where a few more questions show up 1. sparc-sun-solaris2.8 seems to have a _lot_ of ISO C99's wide-character support, but not quite all of it. I _think_ it has enough to turn on the specializations in the library for wchar_t; I'm working on trying this out. None of the missing functions are actually used in any way except "using std::SYMBOL;". 2. I took a guess and said that sparc-sun-solaris2.8 uses "ieee_1003.1-2001"-style locales. Not sure if that's true or not, but it looks like the code for that style is out-of-date. I've added the missing pieces from "generic", changed the function signatures to match, and removed a couple of methods that were reported as being defined elsewhere (and were). Attached (to avoid word-wrap) is a patch against the gcc-3.2 version of the library. (Should I be providing ChangeLog entries for stuff like this?) I'm not sure if this is as good as the implementation can do for this style. Switching locales to call sscanf sounds fairly sub-optimal. -- ------------------------------------------------------------------ Brad Spencer - spencer@infointeractive.com - "It's quite nice..." Systems Architect | InfoInterActive Corp. | A Canadian AOL Company
Attachment:
gcc-3.2-libstdc++-v3-ieee_locale_fix.patch
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |