This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: some unusual errors
- To: Michael Richardson <mcr at solidum dot com>
- Subject: Re: some unusual errors
- From: Peter Dalgaard BSA <p dot dalgaard at biostat dot ku dot dk>
- Date: 22 Sep 1998 15:13:32 +0200
- Cc: mh at mike dot franken dot de (Michael Hirmke), gnu-win32 at cygnus dot com
- References: <199809211652.MAA13143@venus.solidum.com>
Michael Richardson <mcr@solidum.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.dalgaard@biostat.ku.dk) FAX: (+45) 35327907
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".