On Fri, Jun 21, 2002 at 11:11:39AM +0400, Igor Roboul wrote:
> igorr@sysadm~> gcc -Wall qq.c
> qq.c: In function `main':
> qq.c:16: warning: float format, double arg (arg 3) <--- I have expected this
> igorr@sysadm~> ./a.out 123
> 123.000000
> 0.124861
> 0.0<4861      <--- Pay attention 
> 123

I don't get the same results with a system built today.

$ cc -v
..snip..
gcc version 3.1 [FreeBSD] 20020509 (prerelease)
$ cc -Wall qq.c 
qq.c: In function `main':
qq.c:16: warning: float format, double arg (arg 3)
$ ./a.out  123
123.000000
123.000000
123.000016
123

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to