[haskell-llvm] Towards 0.10

Henning Thielemann lemming at henning-thielemann.de
Thu Jul 14 19:00:40 BST 2011


On Thu, 14 Jul 2011, Bryan O'Sullivan wrote:

> >   Not working with GHCi however is a big step back.
> 
> Why don't you see if it works :-) 

Because of that missing LLVMOpaqueValue and there is no proposed fix so 
far ...

I moved forward again to git-HEAD and cannot even compile the package 
anymore:

$ cabal build
...
cbits/extra.cpp:37:28:
      error: hs_llvm_config.h: file or directory not found


There also some warnings, that can certainly be fixed:


LLVM/Core/Util.hs:440:0:
     Warning: Definition but no type signature for `getObjList'
              Inferred type: getObjList :: forall t b t1 a (m :: * -> *).
                                           (Monad m) =>
                                           (t -> (t1 -> m [GHC.Ptr.Ptr a]) -> b)
                                           -> (t1 -> m (GHC.Ptr.Ptr a))
                                           -> (GHC.Ptr.Ptr a -> m (GHC.Ptr.Ptr a))
                                           -> t
                                           -> b


LLVM/Core/Type.hs:64:8:
     Warning: Pattern match(es) are non-exhaustive
              In the definition of `code': Patterns not matched: TDInvalidType

LLVM/Core/Type.hs:78:8:
     Warning: Pattern match(es) are non-exhaustive
              In the definition of `code': Patterns not matched: TDInvalidType



More information about the Haskell-llvm mailing list