bug-gmp
[Top][All Lists]
Advanced

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

Re: GMP-4.0.1 on BeOS


From: Kevin Ryde
Subject: Re: GMP-4.0.1 on BeOS
Date: Sun, 10 Mar 2002 06:42:15 +1000
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu)

address@hidden writes:
>
> There is a file /boot/develop/headers/posix/inttypes.h, in which I found the
> intmax_t typedef, but the problem can't be solved by replacing the '#include
> <stdint.h>' in the code with '#include <inttypes.h>', I tried this and it 
> still
> gives the same error.

You didn't just change it within the "#if HAVE_STDINT_H"?  That of
course won't work since that define is presumably false (ie. left
undefined by config.h).

In any case I think the fix would be to use the following,

#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif

This is what the configure tests use.  It'd be for printf/doprnt.c and
scanf/doscan.c, and also for printf/repl-vsnprintf.c (though I guess
that doesn't get used).



reply via email to

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