[GHC] #13166: Warning: Can't find file "C:\...\lib/include\ghcversion.h" in directories

GHC ghc-devs at haskell.org
Wed Feb 1 10:10:53 UTC 2017


#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:                    |
-------------------------------------+-------------------------------------

Comment (by domenkozar):

 Are you absolutely sure that's correct?

 Windows can handle forward slashes, but they don't count as file/folder
 separators.

 You can observe in my ticket report how GHC calls cpphs with incorrect
 path to the file, but I don't see how cpphs is responsible how it's
 called:

 {{{
  "-include"
 "C:\Users\Administrator\AppData\Local\Programs\stack\x86_64-windows\ghc-8.0.2\lib/include\ghcversion.h"
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13166#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list