Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable redefining __GLASSGOW_HASKELL__ to fix compatibility with Happy 2.0.x #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bramvdbogaerde
Copy link

This PR fixes issue #77.

NOTE: I would like to remove the redefine entirely but since I am not sure what it's initial purpose was I only disable it for versions above GHC 9.1 which coincidentally correspond to the versions that do not perform an explicit type conversion from Int32# to Int#.

@tych0
Copy link

tych0 commented Oct 6, 2024

Hi, I've also hit this and can confirm it fixes the issue.

@felixonmars
Copy link

I can confirm that this fixes it for me when building for Arch. The hack was added for #41 but I think it's not a problem now - with this PR I could build it within one minute on GHC 9.2.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants