This is the mail archive of the glibc-bugs@sourceware.org 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/15036] New: WCHAR_MIN and WCHAR_MAX incorrect for some architectures


http://sourceware.org/bugzilla/show_bug.cgi?id=15036

             Bug #: 15036
           Summary: WCHAR_MIN and WCHAR_MAX incorrect for some
                    architectures
           Product: glibc
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jsm28@gcc.gnu.org
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


Except for x86, __WCHAR_MIN and __WCHAR_MAX in bits/wchar.h have definitions
that are only correct when wchar_t is int.  This means they have incorrect
values when it is unsigned (ARM, AArch64) and incorrect type (int instead of
long) when it is long (m68k, hppa, 32-bit powerpc, sh, I think based on
examining GCC headers).

Testing a patch.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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