This is the mail archive of the glibc-bugs@sources.redhat.com mailing list for the glibc 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]

[Bug libc/625] lconv::frac_digits != CHAR_MAX in "C" locale


------- Additional Comments From jakub at redhat dot com  2004-12-29 11:02 -------
CHAR_MAX on ppc64 is 127 or 255, depending on -fsigned-char or -funsigned-char.
The locale is independent from compiler setting, so I don't think anything
can be done about this (aside from introducing __localeconv_uchar that will be
used for localeconv if __CHAR_UNSIGNED__ and will magically tweak frac_digits).
But that is IMHO too ugly to live with.
I'd say simply make sure to use -fsigned-char if you want strict ISO C99
compliance.

-- 


http://sources.redhat.com/bugzilla/show_bug.cgi?id=625

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]