Date: Sat, 22 Jun 2002 20:28:08 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> To: "David O'Brien" <obrien@FreeBSD.ORG> Cc: ir@hotbox.ru, <freebsd-current@FreeBSD.ORG> Subject: Re: error in ncurses in 'make buildworld' Message-ID: <20020622202641.C7645-100000@gamplex.bde.org> In-Reply-To: <20020621134301.F68827@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Jun 2002, David O'Brien wrote: > 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 The program and strtod.c (not dtoa.c like I said in previous mail) must be compiled with gcc -O2 to cause problems. Bruce 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?20020622202641.C7645-100000>