[GHC] #11546: Compiler warning: cast from pointer to integer of different size

GHC ghc-devs at haskell.org
Fri Feb 5 20:37:29 UTC 2016


#11546: Compiler warning: cast from pointer to integer of different size
-------------------------------------+-------------------------------------
           Reporter:  wereHamster    |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:
           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:
-------------------------------------+-------------------------------------
 While building the stage1 compiler:

 {{{
 In file included from rts/Capability.h:25:0,
                  from includes/dist-derivedconstants/header/tmp.c:15:
 rts/Task.h: In function 'serialiseTaskId':
 rts/Task.h:318:12: warning: cast from pointer to integer of different size
 [-Wpointer-to-int-cast]
      return (TaskId) taskID;
             ^
 }}}

 I'm building a cross-compiler with build/host=x86_64-linux-gnu and target
 =mips-unknown-linux-musl

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


More information about the ghc-tickets mailing list