[commit: ghc] master: Fix Windows build (9aff81d)

git at git.haskell.org git at git.haskell.org
Tue Oct 23 20:12:07 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9aff81d42413ba18ce90369a10d9d24cb77cccd3/ghc

>---------------------------------------------------------------

commit 9aff81d42413ba18ce90369a10d9d24cb77cccd3
Author: Andrey Mokhov <andrey.mokhov at gmail.com>
Date:   Sun Nov 19 01:17:15 2017 +0000

    Fix Windows build
    
    See https://phabricator.haskell.org/D4121#117481


>---------------------------------------------------------------

9aff81d42413ba18ce90369a10d9d24cb77cccd3
 src/Settings/Warnings.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/Settings/Warnings.hs b/src/Settings/Warnings.hs
index abbc814..8c42217 100644
--- a/src/Settings/Warnings.hs
+++ b/src/Settings/Warnings.hs
@@ -32,6 +32,8 @@ warningArgs = builder Ghc ? do
         , package binary       ? pure [ "-Wno-deprecations" ]
         , package bytestring   ? pure [ "-Wno-inline-rule-shadowing" ]
         , package compiler     ? pure [ "-Wcpp-undef" ]
+        -- FIXME: See https://phabricator.haskell.org/D4121#117481.
+        , input "//SysTools.hs" ? pure [ "-Wno-unused-imports" ]
         , package directory    ? pure [ "-Wno-unused-imports" ]
         , package ghc          ? pure [ "-Wcpp-undef" ]
         , package ghcPrim      ? pure [ "-Wno-trustworthy-safe" ]



More information about the ghc-commits mailing list