-
Notifications
You must be signed in to change notification settings - Fork 701
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
Remove unused -XCPP #10723
base: master
Are you sure you want to change the base?
Remove unused -XCPP #10723
Conversation
5833c4e
to
b6bb07a
Compare
I think the commits should be squashed before merging. |
Yeah I can do that. As it stands this pull request has 66 files split into 7 commits, one per package. We don't release every package at once any more and there's backports that I haven't been involved in. I'm being cautious here. Squashing won't make later maintenance harder, will it? @Mikolaj and @Kleidukos with changes like this that touch many files, do we have to be careful about consequences outside merging to the master branch? |
I guess squashing may make merging a tiny bit harder in this particular case, but not by much. Generally, I don't think there's any way to minimize conflicts from this PR, so let's just merge it and let others resolve them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
Thanks for the approval @Mikolaj. I read that as let's just merge it (squashed) which is what I'll do. |
Fixes #10720, a follow on from #10092. Removes unused
{-# LANGUAGE CPP #-}
pragmas.Template B: This PR does not modify behaviour or interface
Manual QA Notes
Please delete
dist-newstyle
and run the following to check for occurrences of unused-XCPP
:Those in
cabal-testsuite/PackageTests
are part of tests so should likely stay put andDistribution.Simple.Build.PathsModule.Z
is generating a paths module using a zinza template. It's a false positive find with the unrefined grep pattern,LANGUAGE.*CPP
.