From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 871 invoked by alias); 18 Jan 2013 20:51:01 -0000 Received: (qmail 754 invoked by uid 48); 18 Jan 2013 20:50:37 -0000 From: "jsm28 at gcc dot gnu.org" To: glibc-bugs@sourceware.org Subject: [Bug libc/15036] New: WCHAR_MIN and WCHAR_MAX incorrect for some architectures Date: Fri, 18 Jan 2013 20:51:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jsm28 at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2013-01/txt/msg00133.txt.bz2 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.