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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to