Broken build

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Broken build

Dinko Tenev
I updated from HEAD recently, and got some strange error messages
while building the stuff under libraries/X11:

../../ghc/compiler/ghc-inplace -H32m -O0 -W -fno-warn-unused-matches
-fwarn-unused-imports -cpp -fffi -Iinclude -I/usr/X11R6/include
-ignore-package X11 -O -dcore-lint -W -fno-warn-unused-matches
-fwarn-unused-imports -keep-hc-files  -package base -fgenerics    -c
Graphics/X11/Xlib/Font.hs -o Graphics/X11/Xlib/Font.o  -ohi
Graphics/X11/Xlib/Font.hi

Font.hsc:70:0:
    Unacceptable argument type in foreign declaration: Display
    When checking declaration:
        foreign import ccall unsafe "static HsXlib.h &XQueryFont" queryFont :: Display
                                                                               -> Font
                                                                                  -> IO FontStruct

...as well as several others for the same file, along the same lines.

I am none the wiser by the messages, but the comment for
ghc/compiler/prelude/TysWiredIn.lhs#rev1.75 seems to be related.  Is
this a regression?

BTW, could someone give me a clue what the point is with a type like
the one mentioned?

Regards,
Dinko
_______________________________________________
Glasgow-haskell-users mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Reply | Threaded
Open this post in threaded view
|

RE: Broken build

Simon Peyton Jones
I believe I have fixed this.  (It was my fault, late last week.)

I'm compiling now to test.  Meanwhile it'd be worth your having another
go.

Simon

| -----Original Message-----
| From: [hidden email]
[mailto:glasgow-haskell-users-
| [hidden email]] On Behalf Of Dinko Tenev
| Sent: 20 November 2005 14:07
| To: [hidden email]
| Subject: Broken build
|
| I updated from HEAD recently, and got some strange error messages
| while building the stuff under libraries/X11:
|
| ../../ghc/compiler/ghc-inplace -H32m -O0 -W -fno-warn-unused-matches
| -fwarn-unused-imports -cpp -fffi -Iinclude -I/usr/X11R6/include
| -ignore-package X11 -O -dcore-lint -W -fno-warn-unused-matches
| -fwarn-unused-imports -keep-hc-files  -package base -fgenerics    -c
| Graphics/X11/Xlib/Font.hs -o Graphics/X11/Xlib/Font.o  -ohi
| Graphics/X11/Xlib/Font.hi
|
| Font.hsc:70:0:
|     Unacceptable argument type in foreign declaration: Display
|     When checking declaration:
| foreign import ccall unsafe "static HsXlib.h &XQueryFont"
queryFont :: Display
|
-> Font
|
-> IO FontStruct
|
| ...as well as several others for the same file, along the same lines.
|
| I am none the wiser by the messages, but the comment for
| ghc/compiler/prelude/TysWiredIn.lhs#rev1.75 seems to be related.  Is
| this a regression?
|
| BTW, could someone give me a clue what the point is with a type like
| the one mentioned?
|
| Regards,
| Dinko
| _______________________________________________
| Glasgow-haskell-users mailing list
| [hidden email]
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
_______________________________________________
Glasgow-haskell-users mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
Reply | Threaded
Open this post in threaded view
|

Re: Broken build

Dinko Tenev
Yes, last night's build worked for me, thanks.

On 11/21/05, Simon Peyton-Jones <[hidden email]> wrote:
I believe I have fixed this.  (It was my fault, late last week.)

I'm compiling now to test.  Meanwhile it'd be worth your having another
go.

Simon



_______________________________________________
Glasgow-haskell-users mailing list
[hidden email]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users