Sigbjorn Finne sof at galois.com
Tue Jun 28 17:17:07 EDT 2005

Thanks for the info, that clarifies matters. I interpreted your use
of "Win32" to refer to platform-wide problems, not the (hierarchical)
win32 API binding.

The issue has been fixed, but you may want to consider using the
non-hierarchical 'win32' hslibs package for the projects you refer to.
It has been proven to work, something the hierarchical version hasn't
yet (due to lack of wider-scale testing.) If people working on/with
the Win32 library think that's an unfair claim, please speak up to pass
on the good news.

  ----- Original Message ----- 
  From: David Nick Main 
  To: Sigbjorn Finne 
  Cc: glasgow-haskell-users at haskell.org 
  Sent: Tuesday, June 28, 2005 13:45
  Subject: Re: 6.4.1?

  As reported when 6.4 first came out:

  C:\temp>ghci Toast.hs
     ___         ___ _
    / _ \ /\  /\/ __(_)
   / /_\// /_/ / /  | |      GHC Interactive, version 6.4, for Haskell 98.
  / /_\\/ __  / /___| |      http://www.haskell.org/ghc/
  \____/\/ /_/\____/|_|      Type :? for help.

  Loading package base-1.0 ... linking ... done.
  Compiling Toast            ( Toast.hs, interpreted )
  Ok, modules loaded: Toast.
  *Toast> test
  Loading package Win32-1.0 ... <interactive>: Not x86 PEi386
  ghc.exe: panic! (the `impossible' happened, GHC version 6.4):
          loadObj: failed

  Please report it as a compiler bug to glasgow-haskell-bugs at haskell.org,
  or http://sourceforge.net/projects/ghc/.


  where Toast.hs is:

  module Toast where {

      import Graphics.Win32;
      test = messageBox hWND_TOPMOST "Hello" "World" mB_OK;


  Sigbjorn Finne wrote: 
    Could you expand on what exactly those problems are? 
    It would be a pity if some of them ended up not being addressed 
    due to them not being generally known about. 


    ----- Original Message ----- From: David Nick Main 
    To: glasgow-haskell-users at haskell.org 
    Sent: Monday, June 27, 2005 14:34 
    Subject: Re: 6.4.1? 

    I'd like to second this - the Win32 problems in 6.4 are preventing several projects from moving forward. 

    John Meacham wrote: 
    Any word on 6.4.1? The major FFI bug in 6.4 is holding back some 
    projects of mine. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/glasgow-haskell-users/attachments/20050628/c0d98fb2/attachment.htm

More information about the Glasgow-haskell-users mailing list