-
Notifications
You must be signed in to change notification settings - Fork 105
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 build of pas2c with ghc-9.4 #75
base: master
Are you sure you want to change the base?
Conversation
example error message: hedgewars-src-1.0.2/tools/pas2c/PascalBasics.hs:46:11: error: Ambiguous occurrence string' It could refer to either Text.Parsec.Char.string', imported from `Text.Parsec.Char' at /var/home/petersen/fedora/haskell/hedgewars/BUILD/hedgewars-src-1.0.2/tools/pas2c/PascalBasics.hs:5:1-23 or PascalBasics.string', defined at /var/home/petersen/fedora/haskell/hedgewars/BUILD/hedgewars-src-1.0.2/tools/pas2c/PascalBasics.hs:17:1 | 46 | try $ string' "{$" | ^^^^^^^
Thank you. Will look at this later. |
(I have applied this patch to the Fedora package, since Fedora 39 is moving to GHC 9.4) |
Oh, so apparently this change was already done by unC0Rr a few weeks ago: https://hg.hedgewars.org/hedgewars/rev/24545642473f Please close this PR. (It seems this GitHub mirror is several months out of date.) |
Theres's still this error: [ 2%] Building C object project_files/hwc/rtl/CMakeFiles/fpcrtl.dir/misc.c.o |
What is the changeset ID of the Hedgewars you built? |
This is 1.0.2-dev and a few patches: https://src.fedoraproject.org/rpms/hedgewars/tree/rawhide |
Yeah but these patches are already part of the main development branch (Mercurial) so I consider this bug fixed. But if you can reproduce a similar bug that happens in the latest changeset, feel free to report it at https://issues.hedgewars.org/. |
fixes this build failure: