delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/09/23/08:24:57

From: mcr AT solidum DOT com (Michael Richardson)
Subject: Re: some unusual errors
23 Sep 1998 08:24:57 -0700 :
Message-ID: <199809222007.QAA24654.cygnus.gnu-win32@venus.solidum.com>
References: <x2af3s5lz7 DOT fsf AT blueberry DOT kubism DOT ku DOT dk>
To: gnu-win32 AT cygnus DOT com

>>>>> "Peter" == Peter Dalgaard BSA <p DOT dalgaard AT biostat DOT ku DOT dk> writes:

    Peter> 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); 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.

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

  Yes. That's my problem. 
  The macro is wrong: it should behave in the same way as a prototyped
function.

   :!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 AT sandelman DOT ottawa DOT on DOT ca</A>. PGP key available.
 Corporate: <A HREF="mailto:mcr AT solidum DOT com">mcr AT solidum DOT com</A>. 



-
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