DragonFly BSD
DragonFly submit List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: FPU Bounds [Was: Re: openssh4.0 upgrade]


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Wed, 23 Mar 2005 18:35:50 +0100

On 23.03.2005, at 18:13, Joerg Sonnenberger wrote:
In anycase, it looks like GCC just breaks when you use the internal
va_arg with a 'char' type. It is supposed to promote the argument
to an int and then cast it to a char. Instead it generates, well,
what you see.
Actually this is a bug in the code using va_arg. There is even a warning
flag for GCC to catch implicit int promotions for variadic functions,
because the variadic function has to use int.
And the flag is on, the compiler does warn about this. One more reason to get
our kernel -Werror ready :)

maybe we should feed warnings of at least kernel compiles to a webpage/mailing list? i'm doing world builds twice a day anyways...


cheers
  simon

--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: PGP.sig
Description: This is a digitally signed message part



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]