[C2hs] c2hs + language.c

Benedikt Huber benjovi at gmx.net
Sat Jan 24 15:38:21 EST 2009


On 24.01.2009, at 19:44, Duncan Coutts wrote:
> On Sat, 2009-01-24 at 16:57 +0000, Duncan Coutts wrote:
>> I've pulled the changes and I'm just trying to get some tests  
>> running.
>> You added ./tests/bugs/call_capital/ but I can't seem to make it  
>> work.
>> It's looking for a "capital.h" but there's no such file.
Update:
As I said, the call_capital test works for me, but there seem to be  
some files
missing in tests/system:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tests.dpatch
Type: application/octet-stream
Size: 6950 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/c2hs/attachments/20090124/f6c0fa6f/tests-0001.obj
-------------- next part --------------



Running the tests, all succeed but one on my system:

 > ---=== Output for `sizeof':
 > sizeof: Fatal: sizeof s3 != size_of_s3(): 10 but expected 12
 > !!! sizeof FAILED: Maybe related to bug #10
 >
 >typedef struct s3 {
 >  struct {
 >        int a : BFSZ(int,13);
 >        int b : BFSZ(int,13);
 >        int b_1: BFSZ(int,13);
 >        int b_2: BFSZ(int,13);
 >        int b_3: BFSZ(int,13);
 >  } f0;

This "bug" was also present in the last version of c2hs, though, so no  
regression.

--
benedikt



More information about the C2hs mailing list