Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build documentation #253

Closed
poscat0x04 opened this issue May 26, 2020 · 2 comments · Fixed by #256
Closed

Unable to build documentation #253

poscat0x04 opened this issue May 26, 2020 · 2 comments · Fixed by #256

Comments

@poscat0x04
Copy link

poscat0x04 commented May 26, 2020

using cabal:

<no location info>: error:
    module ‘main:Main’ is defined in multiple files: src/Main.hs
                                                     src/C2HS/C/Names.hs
                                                     src/C2HS/C/Trav.hs
                                                     src/C2HS/Gen/Header.hs
Warning: Failed to build documentation for exe:c2hs from c2hs-0.28.6.
@georgefst
Copy link
Contributor

georgefst commented Jul 20, 2020

Turns out this is a very misleading error message. Can be fixed by removing 6 lines across 4 files, where there are comments beginning with *.

@georgefst
Copy link
Contributor

Those *s are actually serving a purpose in terms of formatting, but perhaps they could be replaced with something like -.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants