[GHC] #8810: rts/RetainerProfile.c: include missing header for 'markStableTables'

GHC ghc-devs at haskell.org
Thu Feb 20 08:03:17 UTC 2014


#8810: rts/RetainerProfile.c: include missing header for 'markStableTables'
----------------------------------+-------------------------------------
       Reporter:  slyfox          |             Owner:
           Type:  bug             |            Status:  new
       Priority:  normal          |         Milestone:
      Component:  Compiler        |           Version:  7.8.1-rc1
       Keywords:                  |  Operating System:  Unknown/Multiple
   Architecture:  x86_64 (amd64)  |   Type of failure:  None/Unknown
     Difficulty:  Unknown         |         Test Case:
     Blocked By:                  |          Blocking:
Related Tickets:                  |
----------------------------------+-------------------------------------
 Found by clang when building unreg compiler (but should affect all
 builds):
 {{{
       rts_dist_HC rts/dist/build/RetainerProfile.p_o

       rts/RetainerProfile.c:1779:5:
          error: implicit declaration of function 'markStableTables' is
 invalid in C99 [-Werror,-Wimplicit-function-declaration]
             markStableTables(retainRoot, NULL);
             ^
 }}}

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


More information about the ghc-tickets mailing list