bug-parted
[Top][All Lists]
Advanced

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

Re: PATCH: fix gcc bug and big-endian issues for GPT


From: Andrew Clausen
Subject: Re: PATCH: fix gcc bug and big-endian issues for GPT
Date: Sat, 6 Apr 2002 18:20:44 +1000
User-agent: Mutt/1.3.28i

On Fri, Apr 05, 2002 at 10:17:37PM +0100, Richard Hirst wrote:
> to config.h.  Now, when asm/types.h gets pulled in, the line
> 
> > typedef __signed__ char __s8;
> 
> gets pre-processed in to another typedef for int8_t, hence the above error.

Ah.  Subtle.

Does editting configure.in (and rerunning aclocal, autoconf, configure)
help:

        AC_CHECK_TYPE(__u8, ,
                      [AC_DEFINE(__s8, int8_t)
                       AC_DEFINE(__u8, u_int8_t)
                       AC_DEFINE(__s16, int16_t)
                       AC_DEFINE(__u16, u_int16_t)
                       AC_DEFINE(__s32, int32_t)
                       AC_DEFINE(__u32, u_int32_t)
                       AC_DEFINE(__s64, int64_t)
                       AC_DEFINE(__u64, u_int64_t)],
                      /usr/include/sys/types.h)

(replace the old AC_CHECK_TYPE commands...)

Thanks,
Andrew




reply via email to

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