[GHC] #14267: CLong is not what it seems on Windows
GHC
ghc-devs at haskell.org
Thu Sep 21 21:01:49 UTC 2017
#14267: CLong is not what it seems on Windows
-------------------------------------+-------------------------------------
Reporter: nh2 | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
Keywords: | Operating System: Windows
Architecture: | Type of failure: Documentation
Unknown/Multiple | bug
Test Case: | Blocked By:
Blocking: | Related Tickets: #14262
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
[https://hackage.haskell.org/package/base-4.10.0.0/docs/Foreign-C-Types.html#t:CLong
The docs of CLong] say
{{{
newtype CLong = CLong Int64
Haskell type representing the C long type.
}}}
But on 64-bit Windows, [https://stackoverflow.com/questions/384502/what-
is-the-bit-size-of-long-on-64-bit-windows#384672 long is 32 bits].
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14267>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list