#5172: unix-compat does not build because of strangeness in GHC's header files.
-----------------------------+----------------------------------------------
Reporter: rtvd | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Runtime System | Version: 7.0.3
Resolution: worksforme | Keywords: unix-compat
Testcase: | Blockedby:
Difficulty: | Os: Unknown/Multiple
Blocking: | Architecture: Unknown/Multiple
Failure: Other |
-----------------------------+----------------------------------------------
Comment(by jystic):
Replying to [comment:9 simonmar]:
> Replying to [comment:7 jystic]:
>
> > Unfortunately, this does not fix the original problem.
`HsUnixConfig.h` really just needs to match the system configuration,
that's the whole point.
>
> The right fix is to have a `configure.ac` for unix-compat and test the
property at compile-time. Perhaps that would be a problem for Windows
users though?
Can you describe how I would set that up? `HsUnixCompat.h` isn't used by
the Windows compilation. If `configure.ac` could be executed conditionally
or if we just ignored the result that would be fine.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5172#comment:10>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs