Skip to content
Snippets Groups Projects
Commit 858a807d authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by Austin Seipp
Browse files

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 #8748

Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
Signed-off-by: default avatarAustin Seipp <austin@well-typed.com>
parent ebace696
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment