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

看板DFBSD_submit作者時間21年前 (2005/03/24 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串6/9 (看更多)
--Apple-Mail-1-148164406 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed 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 / \ --Apple-Mail-1-148164406 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFCQaj5r5S+dk6z85oRAoSHAJoC37kIBtpTiP/rBBQ+KU+HALOduACg8V7w TRUZ4f9Cr5pyIJuUYTEvO8s= =Bkwo -----END PGP SIGNATURE----- --Apple-Mail-1-148164406--
文章代碼(AID): #12GQyE00 (DFBSD_submit)
討論串 (同標題文章)
文章代碼(AID): #12GQyE00 (DFBSD_submit)