From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3298 invoked by alias); 8 Oct 2004 20:10:26 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 3289 invoked from network); 8 Oct 2004 20:10:25 -0000 Received: from unknown (HELO sadr.equallogic.com) (66.155.203.134) by sourceware.org with SMTP; 8 Oct 2004 20:10:25 -0000 Received: from sadr.equallogic.com (localhost.localdomain [127.0.0.1]) by sadr.equallogic.com (8.12.8/8.12.8) with ESMTP id i98KAOQ4008195 for ; Fri, 8 Oct 2004 16:10:24 -0400 Received: from M30.equallogic.com (m30 [172.16.1.30]) by sadr.equallogic.com (8.12.8/8.12.8) with SMTP id i98KAOao008190; Fri, 8 Oct 2004 16:10:24 -0400 Received: from pkoning.equallogic.com ([172.16.1.220]) by M30.equallogic.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 8 Oct 2004 16:10:24 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16742.62511.278142.45784@gargle.gargle.HOWL> Date: Fri, 08 Oct 2004 22:34:00 -0000 From: Paul Koning To: msb@winterdrache.de Cc: gcc@gcc.gnu.org Subject: Re: signed vs unsigned pointer warning References: <20040922161751.B4F6A1422D53@darter.rentec.com> <20040926192142.GA29842@mail.shareable.org> <20041008130623.9516.4@llama.elixent.com> <20041008091714.A1695@synopsys.com> <20041008173153.E89761422D56@darter.rentec.com> <20041008205704.512ab964@buddha.localdomain.de> X-OriginalArrivalTime: 08 Oct 2004 20:10:24.0450 (UTC) FILETIME=[D8916220:01C4AD72] X-SW-Source: 2004-10/txt/msg00373.txt.bz2 >>>>> "Matthias" == Matthias B writes: Matthias> On Fri, 8 Oct 2004 13:31:53 -0400 (EDT) terra@gnome.org Matthias> (Morten Welinder) wrote: >> Why can't an implementation define isxxx(c) to return something >> like table_lookup[(unsigned)(c)] ? >> >> Because isxxx needs to work with EOF, typically -1. Matthias> So what? On my system all the is* calls return the same Matthias> thing for EOF as they do for 255, namely 0. Is there an Matthias> actual locale where any of the is*() calls returns non-zero Matthias> for 255? In any case, for the usual western locales, your Matthias> argument is invalid. Not true! Character code 255 is a lowecase letter. Certainly it is in iso-8859-1 (western europe) and probably in many of the other 8859 flavors. paul