Bug#243507: g++-3.3: broken fprintf output for floating-point formatted numbers

2004-04-14 Thread J.H.M. Dassen (Ray)
On Tue, Apr 13, 2004 at 18:15:25 +0400, Nikita V. Youshchenko wrote: > It's a bug in the code, not in the compiler. Compiler can't do any > type-checking for variable argument functions. > > Well, gcc has some logic implemented specially for printf and company, > maybe it should be fixed. When I

Bug#243507: g++-3.3: broken fprintf output for floating-point formatted numbers

2004-04-13 Thread Nikita V. Youshchenko
> Package: g++-3.3 > Version: 1:3.3.3-6 > Severity: normal > > When I use any integer constant number (e.g. '0') as an argument for > fprintf command which is '%f' formatted, the output is broken - probably > uninitialized value. When I use floating-point constant (e.g. '0.0'), > everything work

Bug#243507: g++-3.3: broken fprintf output for floating-point formatted numbers

2004-04-13 Thread Petr Nekula
Package: g++-3.3 Version: 1:3.3.3-6 Severity: normal When I use any integer constant number (e.g. '0') as an argument for fprintf command which is '%f' formatted, the output is broken - probably uninitialized value. When I use floating-point constant (e.g. '0.0'), everything works fine. I am not