
www.Usenet.com
| <-- __Chronological__ --> | <-- __Thread__ --> |
Bernd Trog wrote: > Grant Edwards <[EMAIL PROTECTED]> wrote in message > > In article <[EMAIL PROTECTED]>, Richard F. Man wrote: > > > > > Yes, I am still here :-) and yes, the problem is that "char" is unsigned. > > > > No, the problem is the programmer _assumed_ it was signed. > > .. and his compiler was to shy to warn him ;-) > > "Warning: comparison is always false due to limited range of data > type" Actually, our compilers DO give similar warning. He ignored it :-) > > > is the msg you get from gcc in cases like this. > > OTOH, he should better use a language in which these type of > statements doesn't compile at all.. > > Bernd > -- > There are some things that money can't buy...you have to download them > from gnu.org -- // richard http://www.imagecraft.com
| <-- __Chronological__ --> | <-- __Thread__ --> |