This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Delegates (or something)


On Sat, Apr 18, 2009 at 03:04:33PM -0700, William Ahern wrote:
> I'm curious of people's thoughts on this. Especially if somebody can point
> out a bug, including the "you just got lucky that it works" kind.
> 

FYI, GCC 4.2.4 on Ubuntu Hardy (host x86_64, target x86_64) returns false
for

	__builtin_types_compatible_p(long long, int64_t)

In fact, it seems to return false for all the stdint.h types I tried. But
not necessarily for any typedef, since manaully defining a long long
typedef gives the correct/expected result.

A fix would be to extend the ffi_typeof and ffi_type macros, I suppose.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]