T5664.stderr 439 Bytes
Newer Older
pcapriotti's avatar
pcapriotti committed
1 2 3 4 5 6 7 8 9 10 11 12 13

T5664.hs:15:1:
    Unacceptable argument type in foreign declaration:
      FunPtr (D -> IO ())
    When checking declaration:
      foreign import ccall safe "dynamic" mkFun3
        :: FunPtr (D -> IO ()) -> CInt -> IO ()

T5664.hs:24:1:
    Unacceptable result type in foreign declaration: IO (FunPtr (IO D))
    When checking declaration:
      foreign import ccall safe "wrapper" mkCallBack3
        :: IO CInt -> IO (FunPtr (IO D))