> > Without this, any file can't be compiled because of lack of the
> > definition of uintptr_t. uintptr_t is defined in inttypes.h on my
> > NetBSD box, but I'm not sure if the proper entry point is it or not.
> configure should check for the availability of uintptr_t. What does
> it find on your system?
'Configure' finds uintptr_t by testing the following conftest.c.
#line 4576 "configure"
#include "xxxconfdefs.h"
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
# include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
# include <memory.h>
# endif
# include <string.h>
#else
# if HAVE_STRINGS_H
# include <strings.h>
# endif
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
int
main ()
{
if ((uintptr_t *) 0)
return 0;
if (sizeof (uintptr_t))
return 0;
;
return 0;
}
> We should also check for inttypes.h in addition to stdint.h, thus
> making uintptr_t accessible on NetBSD, but I like to understand first
> why it is failing to compile.
A direct reason is that tags.h doesn't include all the headers
included in that conftest.c? I have no idea how this should be fixed
properly though.
Regards,
Masao
--- ____________
|_ -|--|- |_NO_SMOKING_|
_|__ /|\/|\ | |
_______________________________________________
Bug-guile mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-guile