[GHC] #9945: export list for System.Posix.Internals breaking the build on Windows

GHC ghc-devs at haskell.org
Wed Dec 31 16:00:45 UTC 2014


#9945: export list for System.Posix.Internals breaking the build on Windows
-------------------------------------+-------------------------------------
        Reporter:  MartinF           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Windows           |            Architecture:
 Type of failure:  Building GHC      |  Unknown/Multiple
  failed                             |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #9852             |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by MartinF):

 I'm thinking the fix should just be a matter of wrapping the relevant
 names in the export list in CPP conditionals, to match the CPP in the
 module body - so names are included in the export list IFF they're
 actually defined. That would restore the old behaviour from before the
 export list was added, anyway.

 I'm working on a patch to that end now. Shouldn't take long.

 Does that sound like the right course of action?

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


More information about the ghc-tickets mailing list