Skip to content

Fails to build under GHC 7.6 #5

Closed
nomeata opened this Issue Jan 4, 2013 · 3 comments

2 participants

@nomeata
nomeata commented Jan 4, 2013

This fails due to changed requirements about FFI types:

[ 8 of 11] Compiling LDAP.Result      ( dist-ghc/build/LDAP/Result.hs, dist-ghc/build/
LDAP/Result.o )

LDAP/Result.hsc:54:1:
    Unacceptable argument type in foreign declaration:
      Foreign.C.Types.CInt
    When checking declaration:
      foreign import ccall unsafe "static ldap.h ldap_result" ldap_result
        :: LDAPPtr
           -> LDAPInt
              -> LDAPInt -> Ptr () -> Ptr (Ptr CLDAPMessage) -> IO LDAPInt

LDAP/Result.hsc:54:1:
    Unacceptable argument type in foreign declaration:
      Foreign.C.Types.CInt
    When checking declaration:
      foreign import ccall unsafe "static ldap.h ldap_result" ldap_result
        :: LDAPPtr
           -> LDAPInt
              -> LDAPInt -> Ptr () -> Ptr (Ptr CLDAPMessage) -> IO LDAPInt

LDAP/Result.hsc:54:1:
    Unacceptable result type in foreign declaration:
      IO Foreign.C.Types.CInt
    When checking declaration:
      foreign import ccall unsafe "static ldap.h ldap_result" ldap_result
        :: LDAPPtr
           -> LDAPInt
              -> LDAPInt -> Ptr () -> Ptr (Ptr CLDAPMessage) -> IO LDAPInt
@ezyang
ezyang commented Jan 5, 2013

Looks like we got 0351d0c, so I'll roll a release.

@ezyang
ezyang commented Jan 5, 2013

OK done. I don't have rights on this repo though so I can't close this issue.

@nomeata
nomeata commented Jan 5, 2013

Looks good, uploaded.

@nomeata nomeata closed this Jan 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.