Paul Eggert wrote:
mwoehlke <[EMAIL PROTECTED]> writes:

things went badly until I removed the #define for
intmax_t from config.h.

That's not a good sign.  In what way did they go badly, exactly?  What
diagnostics did you get?

source='xstrtoimax.c' object='xstrtoimax.o' libtool=no \
        DEPDIR=.deps depmode=tru64 /usr/bin/posix/sh ../build-aux/depcomp \
cc -std -I. -I. -I. -I/home/install/gnu/alpha_osf/include -g -c xstrtoimax.c cc: Warning: ./config.h, line 1741: The redefinition of the macro "intmax_t" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect. (macroredef)
#define intmax_t long long
-----------------^
cc: Error: xstrtol.c, line 53: In this declaration, the type of "strtoimax" is not compatible with the type of a previous declaration of "strtoimax" at line number 1039 in file ./inttypes.h. (notcompat)
intmax_t strtoimax ();
---------^
cc: Warning: xstrtol.c, line 89: In this declaration, parameter 4 has a different type than specified in an earlier declaration of this function. (mismatparam)
__xstrtol (const char *s, char **ptr, int strtol_base,
^
cc: Error: xstrtol.c, line 89: In this declaration, the type of "xstrtoimax" is not compatible with the type of a previous declaration of "xstrtoimax" at line number 48 in file xstrtol.h. (notcompat)
__xstrtol (const char *s, char **ptr, int strtol_base,
^
make[2]: *** [xstrtoimax.o] Error 1
make[2]: Leaving directory `/home/install/gnu/src/coreutils-6.3-alpha_osf/lib'

...this all went away if I took out the redefinition of intmax_t. It appears to be conflicting with the definition in lib/stdint[_].h.

--
Matthew
This message will self destruct in five millennia.



_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to