[Bug other/9398] Bug in ffi.h.in header file

a dot rottmann at gmx dot at gcc-bugzilla@gcc.gnu.org
Mon Oct 27 02:09:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=9398



------- Additional Comments From a dot rottmann at gmx dot at  2003-10-27 02:02 -------
The ffi.h[.in] file changed a bit since the gcc 3.3.2 release. Now 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...



More information about the Gcc-bugs mailing list