[C2hs] Re: Release plans [was: Re: lowercase/C evaluation]

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Jan 27 16:16:37 EST 2009


On Mon, 2009-01-26 at 11:41 +0100, Benedikt Huber wrote:
> On 25.01.2009, at 17:36, Duncan Coutts wrote:
> > So if no more issues come up in the next few days I'll put a release  
> > out
> > on hackage.
> Hi Duncan,
> I've just uploaded a  minor release of language-c (0.3.1.1) to  
> hackage, fixing some small bugs. I noticed the constraint language-c <
> 0.4.0 in c2hs - that's a good idea, I will keep it in mind for the
> next proper release.

Ok. It was just a guess about your versioning policy.

http://haskell.org/haskellwiki/Package_versioning_policy

> c2hs right now doesn't build with the latest language-c, because of a
> change to Data.Position (we add absolute offsets in the preprocessed
> files).
> 
> With 0.3.1.1, it would be possible to hide uses of Data.Position in  
> c2hs. It isn't neccessary, so its up to you whether you want to apply
> the attached patch. I didn't notice any performance penalty -
> Data.Position is strict in row and col, and incPos, adjustPos etc.
> should be inlined.

BTW:
src/Language/C/Data/Ident.hs:49:19: Unrecognised pragma

You mean UNPACK not UNBOXED

> If the patch is included, c2hs needs to depend on language-c-0.3.1.1  
> though.

Yep. Applied, thanks.

Duncan



More information about the C2hs mailing list