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

GHC ghc-devs at haskell.org
Thu Feb 20 09:36:34 UTC 2014


#8810: rts/RetainerProfile.c: include missing header for 'markStableTables'
-------------------------------------+----------------------------------
        Reporter:  slyfox            |            Owner:
            Type:  bug               |           Status:  patch
        Priority:  normal            |        Milestone:  7.8.1
       Component:  Compiler          |          Version:  7.8.1-rc1
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  x86_64 (amd64)
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+----------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"925b0a499dba8a891af06f1bd3f5caf063682b0b/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="925b0a499dba8a891af06f1bd3f5caf063682b0b"
 RetainerProfile.c: include missing header (#8810)

 Found by clang:

   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);

 Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
 Signed-off-by: Austin Seipp <austin at well-typed.com>
 }}}

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


More information about the ghc-tickets mailing list