delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/22/13:43:33

From: p DOT dalgaard AT biostat DOT ku DOT dk (Peter Dalgaard BSA)
Subject: Re: some unusual errors
22 Sep 1998 13:43:33 -0700 :
Message-ID: <x2af3s5lz7.fsf.cygnus.gnu-win32@blueberry.kubism.ku.dk>
References: <199809211652 DOT MAA13143 AT venus DOT solidum DOT com>
To: Michael Richardson <mcr AT solidum DOT com>
Cc: mh AT mike DOT franken DOT de (Michael Hirmke), gnu-win32 AT cygnus DOT com

Michael Richardson <mcr AT solidum DOT com> writes:

>     >> strtod.c:1239: warning: subscript has type `char'
>     >> which confuses me. What, if not "char" should isspace() take???
> 
>     Michael> As all is<xxx> functions it takes an *int* or *unsigned char* !
> 
> 
>     Michael>        int isalnum (int c);
>     Michael>        int isalpha (int c);
> 
>   Why would you say "unsigned char"??
>   It says "int" to me.
>   So, a signed char should promote to int just fine.

....with everything above 127 mapping to negative numbers!

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p DOT dalgaard AT biostat DOT ku DOT dk)             FAX: (+45) 35327907
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019