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

Fix Bluetcl use of GHC macros, for older GHC #675

Merged
merged 1 commit into from
Feb 24, 2024

Conversation

quark17
Copy link
Collaborator

@quark17 quark17 commented Feb 24, 2024

Recent changes to record the GHC version in Bluetcl use the __GLASGOW_HASKELL_FULL_VERSION__ CPP macro. The GHC docs are misleading and can be interpreted as suggesting that this macro has been around since 7.10, but actually it was introduced in 9.0. (It is other macros mentioned below it that have been around since 7.10.) For older GHC, we can construct the version from other macros (that have been around since at least 7.10).

The __GLASGOW_HASKELL_FULL_VERSION__ CPP macro was introduced in 9.0,
so for earlier versions, we need to construct it from other macros
that have existed since at least 7.10.
@quark17 quark17 merged commit d79e6e8 into B-Lang-org:main Feb 24, 2024
43 checks passed
@quark17 quark17 deleted the fix-bluetcl-ghcversion branch February 24, 2024 21:33
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.

None yet

1 participant