compile error for stty.c, type truncation

Rich Felker dalias at aerifal.cx
Mon Jul 24 18:33:22 UTC 2006


On Mon, Jul 24, 2006 at 09:07:18AM -0400, Robert P. J. Day wrote:
> On Sun, 23 Jul 2006, Rob Landley wrote:
> 
> > On Tuesday 18 July 2006 7:28 am, Robert P. J. Day wrote:
> > >
> > > $ make defconfig busybox
> > >
> > >   CC coreutils/stty.o
> > > /home/rpjday/bbx/busybox/coreutils/stty.c:285: warning: large integer
> > > implicitly truncated to unsigned type
> > > /home/rpjday/bbx/busybox/coreutils/stty.c:286: warning: large integer
> > > implicitly truncated to unsigned type
> > > make[1]: *** [/home/rpjday/bbx/busybox/coreutils/stty.o] Error 1
> > > make: *** [busybox] Error 2
> >
> > gcc 4.1 toolchain, right?
> 
> mais oui.
> 
> > Why do they keep adding new stupid warnings for things that aren't
> > bugs?  My theory is they hate their users.  It's not just
> > condecention, it has to be active malice at some point...
> 
> you know the old saying:  "never attribute to malice that which can be
> explained by stupidity."  that's crap.  sometimes, it really *is*
> malice.  :-)

judging from their stupidity in handling most compiler bugs, i wonder
if we really should just explain this as stupidity too...

rich




More information about the busybox mailing list