[Bug other/12782] ffi.h #defines ffi_type_[us]long wrong on 32bit arches
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12782
------- Additional Comments From a dot rottmann at gmx dot at 2003-10-27 09:48 -------
The ffi.h[.in] file changed a bit since the gcc 3.3.2 release. Now (in CVS) it
blatantly says:
#define ffi_type_ulong ffi_type_uint64
#define ffi_type_slong ffi_type_sint64
without any condition (the other types seem OK now). I cannot image that this is
intended behavior -- there should be ffi_type_[us]long _and_
ffi_type_[us]long_long types; how would you else describe a function that takes
(or returns) a 'long' -- you cannot tell for sure that long is a specific size...
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
Reply to: