[GHC] #10165: Win32 broken with GHC 7.10 RC3

GHC ghc-devs at haskell.org
Tue Mar 17 22:06:27 UTC 2015


#10165: Win32 broken with GHC 7.10 RC3
----------------------------------+-------------------------------------
        Reporter:  NeilMitchell   |                   Owner:
            Type:  bug            |                  Status:  new
        Priority:  normal         |               Milestone:
       Component:  Compiler       |                 Version:  7.10.1-rc3
      Resolution:                 |                Keywords:
Operating System:  Windows        |            Architecture:  x86
 Type of failure:  Runtime crash  |               Test Case:
      Blocked By:                 |                Blocking:
 Related Tickets:                 |  Differential Revisions:
----------------------------------+-------------------------------------

Comment (by m37):

 Documentation on MSDN for SetWindowLongPtr [https://msdn.microsoft.com/en-
 us/library/windows/desktop/ms633591%28v=vs.85%29.aspx] indicates that
 SetWindowLongPtrW only exists on 64-bit.

 It appears that the win32 library should be fixed to conditionally call
 SetWindowLongW on 32-bit, and call SetWindowLongPtrW on 64-bit.

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


More information about the ghc-tickets mailing list