Giter VIP home page Giter VIP logo

Comments (8)

liskin avatar liskin commented on June 26, 2024 1

I made a revision on Hackage for both 1.10 and 1.10.1 that bounds base to GHC8+ and I'll now release 1.10.2 that restores compat with GHC7.

from x11.

slotThe avatar slotThe commented on June 26, 2024

I think this was bumped because we dropped support for these older GHC versions in xmonad and -contrib. If the name of the flag is really the only reason why X11 does not compile in 7.10 right now, I don't see a reason why we shouldn't make that distinction in the cabal file

from x11.

ivanperez-keera avatar ivanperez-keera commented on June 26, 2024

With the change above, X11-1.10.1 compiles with GHC 7.10.3 and the game I mentioned above works.

from x11.

liskin avatar liskin commented on June 26, 2024

We can either add the condition or just switch back to only using -fno-warn-* if that's still supported in GHC 9. Would be nice to open a PR that does either and also adds GHC 7.10 to the test matrix. The X11 library is unlikely to see significant changes, so supporting older GHCs shouldn't be a problem.

from x11.

ivanperez-keera avatar ivanperez-keera commented on June 26, 2024

I don't have GHC 9 to try it, but everything in the docs seems to suggest that the syntax is with -W. I see no reference to -fno-warn-* flags anymore.

I can submit a PR including the condition and GHC 7.10 in the matrix.

Does anything need to change in https://github.com/xmonad/X11/blob/master/.github/workflows/haskell-ci.yml#L47-L48? (note: I have zero experience with github actions, which I guess it's what that's for).

from x11.

liskin avatar liskin commented on June 26, 2024

I don't have GHC 9 to try it, but everything in the docs seems to suggest that the syntax is with -W. I see no reference to -fno-warn-* flags anymore.

Those references weren't there in 8.10 docs either and I vaguely remember it still worked, so I'd say the easiest way is to just let the CI check it for us. :-)

Does anything need to change in https://github.com/xmonad/X11/blob/master/.github/workflows/haskell-ci.yml#L47-L48? (note: I have zero experience with github actions, which I guess it's what that's for).

This one's generated automatically from tested-with in .cabal by running haskell-ci regenerate. I can regenerate that for you now that I'm back home with proper internet access.

from x11.

ivanperez-keera avatar ivanperez-keera commented on June 26, 2024

Awesome! Thanks!

Sorry that I couldn't submit even a simple PR. It's been a crazy time.

from x11.

liskin avatar liskin commented on June 26, 2024

FYI: we're dropping GHC 7.10 support at last, but base bound should correctly be bumped now - #105

from x11.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.