includes/Stg.h: add declarations for hs_popcnt and frinds

Authored by trofi on Feb 13 2014, 7:27 AM.

Description

includes/Stg.h: add declarations for hs_popcnt and frinds

This fixes most of implicit function declarations emitted
C codegen in UNREG mode. Found by adding the following to
mk/build.mk:

SRC_CC_OPTS += -Werror=implicit-function-declaration
SRC_HC_OPTS += -optc-Werror=implicit-function-declaration

Issue Trac #8748

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

Details

Committed
austinFeb 17 2014, 1:46 AM
Pushed
bgamariAug 25 2016, 1:39 PM
Parents
rGHCDIFFebace6969f0e: rts/Capability.c: fix crash in -threaded mode on UNREG build
Branches
Unknown
Tags
Unknown