[GHC] #920: Patch: Make GHC bulid/run when compiled with GCC 4.1.1 on MinGW

GHC trac at galois.com
Tue Oct 3 14:42:03 EDT 2006


#920: Patch: Make GHC bulid/run when compiled with GCC 4.1.1 on MinGW
---------------------------+------------------------------------------------
    Reporter:  briansmith  |        Owner:         
        Type:  bug         |       Status:  new    
    Priority:  normal      |    Milestone:         
   Component:  Compiler    |      Version:  6.5    
    Severity:  minor       |     Keywords:         
          Os:  Multiple    |   Difficulty:  Unknown
Architecture:  Unknown     |  
---------------------------+------------------------------------------------
* GCC 4.x does not allow casts on lvalues, which are used in Linker.c and
 in packages/Win32/dumpBMP.c

 * GCC 4.x on MinGW includes gettimeofday; we need to tell the linker about
 it, otherwise GHCi will fail to link base.

 The first patch bundle fixes both issues for GHC. The second patch bundle
 fixes the first problem for packages/Win32.

 These were both tested on the 6.6 branch. I would like them to be included
 in 6.6 if it is not too late.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/920>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list