[GHC] #11828: Linker.c doesn't build on OS X due to signedness mismatch

GHC ghc-devs at haskell.org
Wed Apr 13 11:58:40 UTC 2016


#11828: Linker.c doesn't build on OS X due to signedness mismatch
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  7.10.3
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 {{{
 rts/Linker.c:6978:59: error:
      error: assigning to 'unsigned char *' from 'char *' converts between
 pointers to integer types with different sign [-Werror,-Wpointer-sign]
                                 oc->symbols[curSymbol].addr   = addr;
                                                               ^ ~~~~
 }}}

 Apparently introduced by

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


More information about the ghc-tickets mailing list