[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SDL-ttf fails to build with GHC 7.6



Version 0.6.2 is on hackage. Cheers.

-- 
David Himmelstrup

On Thursday, February 7, 2013 at 10:31 PM, Joachim Breitner wrote:

Dear Lemmih,

SDL-ttf-0.6.1 fails to build with GHC 7.6, which is out for
quite a while now:
Preprocessing library SDL-ttf-0.6.1...
[1 of 7] Compiling Graphics.UI.SDL.TTF.Version
( dist-ghc/build/Graphics/UI/SDL/TTF/Version.hs,
dist-ghc/build/Graphics/UI/SDL/TTF/Version.o )
[2 of 7] Compiling Graphics.UI.SDL.TTF.General
( Graphics/UI/SDL/TTF/General.hs,
dist-ghc/build/Graphics/UI/SDL/TTF/General.o )

Graphics/UI/SDL/TTF/General.hs:26:1:
Unacceptable result type in foreign declaration: IO CInt
When checking declaration:
foreign import ccall unsafe "static TTF_Init" ttfInit :: IO CInt

Graphics/UI/SDL/TTF/General.hs:32:1:
Unacceptable result type in foreign declaration: IO CInt
When checking declaration:
foreign import ccall unsafe "static TTF_WasInit" ttfWasInit
:: IO CInt

Would it be possible for you to upload a compatible version to hackage?

Thanks,
Joachim


--
Joachim "nomeata" Breitner
Debian Developer
nomeata@debian.org | ICQ# 74513189 | GPG-Keyid: 4743206C
JID: nomeata@joachim-breitner.de | http://people.debian.org/~nomeata


Reply to: