Subject: Re: isxxx() and toupper() usage changes
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: SODA Noriyuki <soda@sra.co.jp>
List: tech-userlevel
Date: 10/30/2004 00:26:57
>>>>> On Thu, 28 Oct 2004 11:55:25 -0400 (EDT),
der Mouse <mouse@Rodents.Montreal.QC.CA> said:
>> How about actually removing the (int) cast from ctype.h?
>> I believe doing the cast is just wrong, because it only suppress
>> warnings and doesn't fix real problem.
> What you really want is somethign that has the same argument-passing
> semantics as a prototyped function, it seems to me.
No.
What I want is the following warning message from gcc:
warning: array subscript has type `char'
Inline functions aren't needed at all.
--
soda