[Bug libc/625] lconv::frac_digits != CHAR_MAX in "C" locale
jakub at redhat dot com
sourceware-bugzilla@sources.redhat.com
Wed Dec 29 11:02:00 GMT 2004
------- 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.
More information about the Glibc-bugs
mailing list