#8810 closed bug (fixed)

rts/RetainerProfile.c: include missing header for 'markStableTables'

Reported by: slyfox Owned by:
Priority: normal Milestone: 7.8.1
Component: Compiler Version: 7.8.1-rc1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: x86_64 (amd64)
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

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

Attachments (1)

ghc-HEAD-add-missing-markStablePtrTable-decl.patch (908 bytes) - added by slyfox 13 months ago.
ghc-HEAD-add-missing-markStablePtrTable-decl.patch

Download all attachments as: .zip

Change History (6)

Changed 13 months ago by slyfox

ghc-HEAD-add-missing-markStablePtrTable-decl.patch

comment:1 Changed 13 months ago by slyfox

  • Milestone set to 7.8.1

comment:2 Changed 13 months ago by thoughtpolice

  • Status changed from new to patch

comment:3 Changed 13 months ago by Austin Seipp <austin@…>

In 925b0a499dba8a891af06f1bd3f5caf063682b0b/ghc:

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 <[email protected]>
Signed-off-by: Austin Seipp <[email protected]>

comment:4 Changed 13 months ago by thoughtpolice

  • Status changed from patch to merge

comment:5 Changed 13 months ago by thoughtpolice

  • Resolution set to fixed
  • Status changed from merge to closed

Merged.

Note: See TracTickets for help on using tickets.