…hat this should be WINDOWS_CCONV.
Previously the whole file was conditionally disabled on 64-bit architectures, but in fact the important thing is not the architecture but the contents of the mapi.h header.
This is to avoid the warning printed otherwise when executing `Setup.hs`: Setup.hs:6:29: Warning: In the use of ‘defaultUserHooks’ (imported from Distribution.Simple): Deprecated: "Use simpleUserHooks or autoconfUserHooks, unless you need Cabal-1.2 compatibility in which case you must stick with defaultUserHooks" Warning: defaultUserHooks in Setup script is deprecated. Configuring Win32-220.127.116.11...
Source files with mode 0755 look a bit confusing when checked out on unix filesystems.
Note: this version bump does not yet represent a package release, but has been only done so we can ship GHC 7.8 RC1 with a `win32` package version distinguishable from what shipped with GHC 7.6.3. Also I bumped the min-version build-dep on `base` as the recent changes to the `win32` code-base rely on features only available in `base-18.104.22.168`.
Signed-off-by: Edward Z. Yang <firstname.lastname@example.org>
With the new -XNegativeLiterals, the compiler was (rightly) complaining that values like (0x80000000 :: Int32) suffer from signed overflow. This caused the Windows GHC build to fail, since it uses -Werror. The fix is very simple. For details, see Note [Overflow checking and fromIntegral] in Graphics/Win32/GDI/HDC.hs Signed-off-by: Austin Seipp <email@example.com>