[GHC] #15902: dead symbol warning error in rts base

GHC ghc-devs at haskell.org
Thu Nov 15 20:08:49 UTC 2018


#15902: dead symbol warning error in rts base
-------------------------------------+-------------------------------------
           Reporter:  carter         |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.6.3
          Component:  Compiler       |           Version:  8.6.2
           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/posix/OSMem.c:161:1: error:
      warning: 'post_mmap_madvise' defined but not used [-Wunused-function]
      post_mmap_madvise(int operation, W_ size, void *ret)
      ^~~~~~~~~~~~~~~~~
     |
 161 | post_mmap_madvise(int operation, W_ size, void *ret)


 OSX build env

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


More information about the ghc-tickets mailing list