Closed RyanGlScott closed 8 years ago
OK, I've reworked it to incorporate two different commits.
BTW, the build is failing on Travis CI with GHC 7.2.1 due to an unrelated transformers
issue. I'm currently looking into it.
OK, it turns out not to be transformers
' fault. The culprit is a really awful GHC 7.2.1–specific bug involving SafeHaskell. The workaround is just to invoke
ghc-pkg trust base
before building transformers
. I've adjusted .travis.yml
accordingly.
Thanks for the fix!
In GHC 8.0,
hsc2hs
will introduce analignment
macro that is equivalent to the one manually defined inSystem.Console.Haskeline.Backend.Win32
, which causes a redefinition warning:This adds the simple fix of surrounding the
#let alignment ...
directive with#if __GLASGOW_HASKELL__ < 711
to suppress the warning. (For some reason,git diff
thinks I changed the entire file, but I think it's just my text editor changing Windows-style line-endings to Unix-style ones.)