[Top][All Lists]

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

coreutils-6.12.208-2441 and strtold

From: Poor Yorick
Subject: coreutils-6.12.208-2441 and strtold
Date: Mon, 26 Jan 2009 17:58:32 +0000

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/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
+++ seq.c.new   2009-01-26 12:44:05 -05:00
@@ -306,7 +306,7 @@
                xalloc_die ();
              x_str[x_strlen - layout.suffix_len] = '\0';
-             if (xstrtold (x_str + layout.prefix_len, NULL, &x_val, strtold)
+             if (xstrtold (x_str + layout.prefix_len, NULL, &x_val, c_strtold)
                  && abs_rel_diff (x_val, last) < DBL_EPSILON)
                  char *x0_str = NULL;


reply via email to

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