bug-gnu-utils
[Top][All Lists]
Advanced

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

tar-1.13.25: HAVE_DECL_STRTOIMAX doesn't get tested nor set


From: Harald Koenig
Subject: tar-1.13.25: HAVE_DECL_STRTOIMAX doesn't get tested nor set
Date: Fri, 19 Oct 2001 11:18:10 +0200
User-agent: Mutt/1.3.16i

Hi,

tar-1.3.25 doesn't compile on HPUX-10.20, it breaks in lib/xstrtol.c line 90:

        tar-1.13.25/lib/xstrtol.c:90: macro `strtoimax' used with out args
        gmake[2]: *** [xstrtoimax.o] Error 1

that's the code in question:

        #if !HAVE_DECL_STRTOIMAX
        intmax_t strtoimax ();
        #endif


reason:  right now configure doesn't test for HAVE_DECL_STRTOIMAX 
but only for HAVE_DECL_STRTOUMAX !

from ChangeLog:

    2001-09-20  Jim Meyering  <address@hidden>

        * lib/xstrtol.c (strtoimax): Guard declaration with
        `#if !HAVE_DECL_STRTOIMAX', rather than just `#ifndef strtoimax'.
        The latter fails because some systems (at least rs6000-ibm-aix4.3.3.0)
        have their own, conflicting declaration of strtoimax in sys/inttypes.h.



Harald
-- 
"I hope to die                                      ___       _____
before I *have* to use Microsoft Word.",           0--,|    /OOOOOOO\
Donald E. Knuth, 21-09-2001 in Tuebingen.         <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig                                          \/\/\/\/\/\/\/\/\/
science+computing ag                                    //  /     \\  \
address@hidden                            ^^^^^       ^^^^^



reply via email to

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