bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-6.12.208-2441 and strtold


From: Jim Meyering
Subject: Re: coreutils-6.12.208-2441 and strtold
Date: Mon, 26 Jan 2009 20:15:44 +0100

"Poor Yorick" <address@hidden> wrote:
> building coreutils-6.12.208-2441 on SunOS 5.9 with gcc and gnu ld:
>
>     gcc -m32 -std=gnu99  -g -O2  -lintl -Wl,--as-needed -o runcon runcon.o 
> libver.a ../lib/libcoreutils.a  ../lib/libcoreutils.a  -lsocket
>     gcc -m32 -std=gnu99  -I. -I../lib  -I../lib 
> -I/path/tosrc/coreutils-6.12.208-2441/coreutils-6.12.208-2441/lib 
> -I/path/tosrc/coreutils-6.12.208-2441/coreutils-6.12.208-2441/src 
> -I/path/toinclude   -g -O2 -MT seq.o -MD -MP -MF .deps/seq.Tpo -c -o seq.o 
> seq.c
>     seq.c: In function 'print_numbers':
>     seq.c:309: error: 'strtold' undeclared (first use in this function)
>     seq.c:309: error: (Each undeclared identifier is reported only once
>     seq.c:309: error: for each function it appears in.)
>
> is seq.c, by chance, supposed to be like this:
>
> --- seq.c       2008-09-26 17:43:10 -04:00
...
> -             if (xstrtold (x_str + layout.prefix_len, NULL, &x_val, strtold)
> +             if (xstrtold (x_str + layout.prefix_len, NULL, &x_val, 
> c_strtold)

Yes.
That was done in v6.12-213-gcfe3602, with other, related changes.
You might want to try coreutils-7.0 or a newer snapshot.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]