lkml.org 
[lkml]   [1997]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Style question: comparison between signed and unsigned?
Date
Ulrich Drepper wrote:
> For glibc we had to fix around >1000 files.

That's impressive. And how many bugs did you discover in the process ?

BTW, I agree that requiring many extra casts is a bad idea, because
there's no way of telling if a cast is only intended to emphasize
default semantics or if it should also twist the type compatibility.

I also note that gcc occasionally gets into the habit of encouraging
a certain syntax, e.g. the use of parentheses when mixing &&, ||,
etc. (a good move, IMHO), or the use of parentheses around assignments
in if, while, and such (annoying, IMHO).

- Werner

--
_________________________________________________________________________
/ Werner Almesberger, DI-LRC,EPFL,CH werner.almesberger@lrc.di.epfl.ch /
/_IN_R_133__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.050 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site