Skip to content

mhs fails to compile cpphs when preprocessed by cpphs-hugs #137

@AlexandreTunstall

Description

@AlexandreTunstall

Setting USECPPHS to cpphs-hugs causes the cpphs build to fail with the following error.

mhs: error: "cpphssrc/malcolm-wallace-universe/polyparse-1.12/src/Text/ParserCombinators/Poly/Parser.hs": line 50, col 5: superflous instance binding

In contrast, bootstrapcpphs succeeds when using bin/cpphs built from the pre-existing generated/cpphs.c.

The cpphs-hugs binary comes from the patched Hugs recommended in the README.

Unfortunately, this prevents bootstrapping without pre-generated sources, since the bootstrapcpphs target needs to run cpphs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions