From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28841 invoked by alias); 18 Dec 2013 22:19:25 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 28830 invoked by uid 89); 18 Dec 2013 22:19:23 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 18 Dec 2013 22:18:55 +0000 Received: from svr-orw-fem-01.mgc.mentorg.com ([147.34.98.93]) by relay1.mentorg.com with esmtp id 1VtPS8-0005JL-6W from joseph_myers@mentor.com ; Wed, 18 Dec 2013 14:18:52 -0800 Received: from SVR-IES-FEM-01.mgc.mentorg.com ([137.202.0.104]) by svr-orw-fem-01.mgc.mentorg.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 18 Dec 2013 14:18:51 -0800 Received: from digraph.polyomino.org.uk (137.202.0.76) by SVR-IES-FEM-01.mgc.mentorg.com (137.202.0.104) with Microsoft SMTP Server id 14.2.247.3; Wed, 18 Dec 2013 22:18:49 +0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.76) (envelope-from ) id 1VtPS4-0000Ps-Ol; Wed, 18 Dec 2013 22:18:48 +0000 Date: Thu, 19 Dec 2013 09:50:00 -0000 From: "Joseph S. Myers" To: JF Bastien CC: "newlib@sourceware.org" Subject: Re: [PATCH] Update newlib so that it passes libc++'s tests In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-SW-Source: 2013/txt/msg01113.txt.bz2 On Wed, 18 Dec 2013, JF Bastien wrote: > #elif defined(__WCHAR_UNSIGNED__) || (L'\0' - 1 > 0) > #define WCHAR_MAX (0xffffffffu + L'\0') > #else > #define WCHAR_MAX (0x7fffffffu + L'\0') You don't want the "u" suffix in this #else case (signed wchar_t). -- Joseph S. Myers joseph@codesourcery.com