This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: some unusual errors
- To: mh at mike dot franken dot de (Michael Hirmke)
- Subject: Re: some unusual errors
- From: Michael Richardson <mcr at solidum dot com>
- Date: Mon, 21 Sep 1998 12:52:10 -0300
- cc: gnu-win32 at cygnus dot com
>>>>> "Michael" == Michael Hirmke <mh@mike.franken.de> writes:
Michael> Hi Michael,
Michael> [...]
>> strtod.c:1239: warning: subscript has type `char'
>>
>> This line of code is actually:
>>
>> for(s = s00; isspace(*s); s++)
>>
>> 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.
:!mcr!: | Solidum Systems Corporation, http://www.solidum.com
Michael Richardson |For a better connected world,where data flows faster<tm>
Personal: <A HREF="http://www.sandelman.ottawa.on.ca/People/Michael_Richardson/Bio.html">mcr@sandelman.ottawa.on.ca</A>. PGP key available.
Corporate: <A HREF="mailto:mcr@solidum.com">mcr@solidum.com</A>.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".