
#13166: Warning: Can't find file "C:\...\lib/include\ghcversion.h" in directories -------------------------------------+------------------------------------- Reporter: domenkozar | Owner: Type: bug | Status: upstream Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: Operating System: Windows | Architecture: Type of failure: Incorrect | Unknown/Multiple error/warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by Phyx-): * priority: low => normal * status: infoneeded => upstream Comment: Windows has no problem with forward slashes in paths. See the note on https://msdn.microsoft.com/en- gb/library/windows/desktop/aa365247(v=vs.85).aspx My guess of what's going on is the cpphs is incorrectly handling fully qualified paths. It must be combining the search directories and file, and incorrectly handling the `.` case. You should report this to `cpphs` https://github.com/malcolmwallace/cpphs/issues The error is there and not GHC. Could you link back to here as well? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13166#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler