c2hs icon indicating copy to clipboard operation
c2hs copied to clipboard

New test failures in 0.28.4

Open felixonmars opened this issue 7 years ago • 5 comments
trafficstars

The errors are not present in 0.28.3, with GHC 8.4.3 here.

c2hs: Errors during expansion of binding hooks:

issue141.h:1: (column 9) [ERROR]  >>> Illegal use of incomplete type!
  Expected a fully defined structure or union tag; instead found incomplete type.

c2hs: Errors during expansion of binding hooks:

issue141.h:1: (column 9) [ERROR]  >>> Illegal use of incomplete type!
  Expected a fully defined structure or union tag; instead found incomplete type.

c2hs: Errors during expansion of binding hooks:

Issue141C.chs:7: (column 17) [ERROR]  >>> Illegal use of incomplete type!
  Expected a fully defined structure or union tag; instead found incomplete type.

c2hs: Errors during expansion of binding hooks:

Issue149.chs:5: (column 3) [ERROR]  >>> Function arity mismatch!
  Parameter marshallers are missing.

[1 of 1] Compiling Issue151         ( Issue151.hs, Issue151.o )
[1 of 1] Compiling Main             ( Issue152.hs, Issue152.o )
Linking Issue152 ...
c2hs: Errors during expansion of binding hooks:

Issue180.chs:8: (column 18) [ERROR]  >>> Function arity mismatch!
  This parameter is in excess of the C arguments.

felixonmars avatar Jun 05 '18 14:06 felixonmars

What platform?

deech avatar Jun 05 '18 14:06 deech

It's on Arch Linux x86_64

felixonmars avatar Jun 05 '18 14:06 felixonmars

Update: It looks weird but 0.28.5 works correctly again here.

felixonmars avatar Jun 06 '18 04:06 felixonmars

What looks weird about it?

deech avatar Jun 06 '18 11:06 deech

The changes do not look related - maybe I'm not really familiar with it :P

felixonmars avatar Jun 06 '18 11:06 felixonmars