-
Notifications
You must be signed in to change notification settings - Fork 76
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
Ambiguous occurrence `c_WaitForSingleObject' for win32 > 2.10 && <= 2.12 #159
Comments
Me too. See https://github.com/agda/agda/runs/4200138734?check_suite_focus=true#step:11:2537 |
Here are some build failures with GHC 9.2:
... |
|
haskeline >= 0.7.2.3 fails to build with Win32-2.10/11 because of duplicate definitions: ``` Ambiguous occurrence `c_WaitForSingleObject' It could refer to either `System.Win32.c_WaitForSingleObject', imported from `System.Win32' at System\Console\Haskeline\Backend\Win32.hsc:14:1-80 (and originally defined in `System.Win32.Event') or `System.Console.Haskeline.Backend.Win32.c_WaitForSingleObject', defined at dist\build\System\Console\Haskeline\Backend\Win32.hs:51:1 ```
@bgamari: I have fixed this in a PR that has been sitting around for over a year here now, please consider merging. |
When building haskeline-0.8.1.2 (as a dependency) it fails with the following error:
Though I noticed this has already been fixed in win32-2.12.
Since I don't have much experience with maintaining libraries, I'm not sure if simply updating the win32 version bounds to
>= 2.0 && < 2.10.1 && >= 2.12
is enough. I would have made a PR otherwise.The text was updated successfully, but these errors were encountered: