error in the hdirect installation

kyra kyrab at mail.ru
Tue Dec 9 01:56:56 EST 2003


Just the same error in the 'make lib' stage with the same (ghc 6.0.1)
compiler against today's (Dec 8, 2003) cvs hdirect.

Also it seems hdirect 0.19 doesn't compile with ghc 6.0.1 out of the box.

So what is the best way to get working hdirect with ghc 6.0.1 ?

Regards,
Kyra

----- Original Message ----- 
From: "Mauro La Salete Costa Lima de Araujo" <mscla at cin.ufpe.br>
To: <haskell at haskell.org>
Sent: Sunday, December 07, 2003 5:03 PM
Subject: error in the hdirect installation


<skip>

 in /cygdrive/c/haskell/fptools/hdirect/comlib
------------------------------------------------------------------------
/cygdrive/c/ghc/ghc-6.0.1/bin/ghc -H16m -O  -fvia-C  -package-name com
-package
lang -I../lib -DCOM -fglasgow-exts -fvia-C -static -c TypeLib.hs -o
TypeLib.o  -
ohi TypeLib.hi

TypeLib.hs:2291:
    Couldn't match `IUnknown i0' against `()'
        Expected type: Ptr (IID (IUnknown i0))
        Inferred type: Ptr (IID ())
    In the fourth argument of `prim_TypeLib_createInstance', namely
        `riid'
    In a lambda abstraction:
        \ riid
            -> prim_TypeLib_createInstance methPtr iptr pUnkOuter riid
ppvObj
make[1]: *** [TypeLib.o] Error 1
make: *** [all] Error 1

<skip>



More information about the Haskell mailing list