Hi Ludo:
I think the reason that we get this error is that the "a" argument is declared
to be only 8 bits wide
but is passed in as -1 which is correctly represented as 0x
However an 8-bit representation is 0xFF which is only 255.
Here is how I tracked it down:
(0) Took the printf's from
Begin forwarded message:
> From: Peter Teeson
> Subject: Re: bug#13342: Errors trying to build Guile 2.0.7
> Date: 7 January, 2013 8:21:59 PM EST
> To: Ludovic Courtès
>
> Hi Ludo:
>
> On 2013-01-04, at 12:23 PM, Ludovic Courtès wrote:
> bad return from expression `(f-sum -1 2000 -3
Hi Ludo:
I believe my conjecture that -1 was correct based on the following:
(0) I took the printf statements from my test program and placed them in
test-ffi-sum:
scm_t_int64 test_ffi_sum (scm_t_int8 a, scm_t_int16 b,
scm_t_int32 c, scm_t_int64 d);
scm_t_int64 test_ff