Re: libc/printf bug
- From: Micah Cowan <micah@xxxxxxxxxx>
- Date: Tue, 28 Feb 2006 21:33:11 GMT
"Nils O. Selåsdal" <NOS@xxxxxxx> writes:
Both, though. The original post hadn't included stdio.h, so all
arguments would be pushed on the stack(typically) as ints. With a
prototype for printf, which accepts varadic arguments, the promotion
rules are different, floats become doubles, char/short become ints and
similar.
The promotion rules are actually the same. But see my other post.
.
- References:
- libc/printf bug
- From: bill pursell
- Re: libc/printf bug
- From: Jan Panteltje
- Re: libc/printf bug
- From: Micah Cowan
- Re: libc/printf bug
- From: Jan Panteltje
- Re: libc/printf bug
- From: "Nils O. Selåsdal"
- libc/printf bug
- Prev by Date: Re: Trolltech QT license question
- Next by Date: Re: Trolltech QT license question
- Previous by thread: Re: libc/printf bug
- Next by thread: Re: libc/printf bug
- Index(es):
Relevant Pages
|