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

Rename windows.h file #77

Closed
Mistuke opened this issue Oct 5, 2017 · 0 comments
Closed

Rename windows.h file #77

Mistuke opened this issue Oct 5, 2017 · 0 comments
Assignees
Labels
type: a-bug The described behavior is not working as intended.

Comments

@Mistuke
Copy link
Contributor

Mistuke commented Oct 5, 2017

GHC has a quirk where to work around the fact that our input file to GCC is in another folder, we add the original input directory to the include search path. This causes a problem since new include paths override system ones. It doesn't however do this for all modes.

For some reasons I have yet to figure out, compiling with cabal works, but not one shot compilation.

Anyway, long story short, when building GHC, the presence of this file names "windows.h" is causing GCC to loop on the includes before eventually terminating. While I'm looking into this it would be really helpful if you could rename this file to something else. That should unblock certain build failures.

See https://ghc.haskell.org/trac/ghc/ticket/14312

@Rufflewind Rufflewind added the type: a-bug The described behavior is not working as intended. label Dec 17, 2018
@Rufflewind Rufflewind self-assigned this Dec 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: a-bug The described behavior is not working as intended.
Projects
None yet
Development

No branches or pull requests

2 participants