Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Jun 2002 13:43:01 -0700
From:      "David O'Brien" <obrien@FreeBSD.ORG>
To:        ir@hotbox.ru
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: error in ncurses in 'make buildworld'
Message-ID:  <20020621134301.F68827@dragon.nuxi.com>
In-Reply-To: <20020621071139.GA20615@sysadm.stc>; from igorr@sysadm.stc on Fri, Jun 21, 2002 at 11:11:39AM %2B0400
References:  <20020619163321.A48809@dragon.nuxi.com> <20020620074657.11859.qmail@web14108.mail.yahoo.com> <20020620092649.GA10310@sysadm.stc> <20020620101611.B55653@dragon.nuxi.com> <20020621071139.GA20615@sysadm.stc>

next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020621134301.F68827>