bitc / hdevtools

REPO UNMAINTAINED!!! Try this: https://github.com/hdevtools/hdevtools/
MIT License
171 stars 43 forks source link

Unexpected warning message #7

Open jwiegley opened 11 years ago

jwiegley commented 11 years ago

When I have a module that uses LANGUAGE ForeignFunctionInterface, I get this warning:

Illegal foreign declaration: requires via-C, llvm (-fllvm) or native code generation (-fvia-C)
    When checking declaration:
      foreign export ccall "odbGitHubBackendFreeCallback" odbGitHubBackendFreeCallback
        :: F'git_odb_backend_free_callback

This doesn't happen with ghc or ghc-mod.