This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libffi/21229] New: LibFFI can't handle Longs
- From: "pupeno at pupeno dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Apr 2005 00:48:06 -0000
- Subject: [Bug libffi/21229] New: LibFFI can't handle Longs
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I've had troubles in the FFI module I'm building when dealing with (unsigned)
longs, what happens is that the second unsigned long argument never reached
the function I'm calling with ffi_call.
I've built a small test (attached) to show this particular problem (in the
hope that the problem would disappear, but that didn't happen). I've checked
and re-checked how I pass the arguments to ffi_call, I couldn't find anything
wrong (debugging libffi internals is not easy :( ).
--
Summary: LibFFI can't handle Longs
Product: gcc
Version: 3.3.5
Status: UNCONFIRMED
Severity: critical
Priority: P2
Component: libffi
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pupeno at pupeno dot com
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21229