Re: Build error 4.6.1 for x86_64

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

 



david.hagood@xxxxxxxxx writes:

> /space/tools/ppc/src/gcc-4.6.1/libmudflap/mf-runtime.c:168:11: error:
> conflicting types for ‘__mf_lc_mask’
> /space/tools/ppc/src/gcc-4.6.1/libmudflap/mf-runtime.h:46:23: note:
> previous declaration of ‘__mf_lc_mask’ was here

Looks like uintptr_t and __mf_uintptr_t are somehow different types.
__mf_uintptr_t is defined via

typedef unsigned int __mf_uintptr_t __attribute__ ((__mode__ (__pointer__)));

uintptr_t is defined by some system header file.  I would guess that the
types normally wind up the same, but in the C library that you are using
they somehow wind up being different.

Probably mf-runtime.c should be changed to use __mf_uintptr_t rather
than uintptr_t.

Ian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux