-
Notifications
You must be signed in to change notification settings - Fork 524
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
wxPython 4.2.1 does not compile with GCC 14 #2493
Comments
Hmm, this actually seems to be a bug in SIP itself. |
Yes, I reported it to SIP upstream. |
Fixed in sip (not yet released): https://www.riverbankcomputing.com/hg/sip/rev/afc99fa84d0d |
Thanks for reporting it upstream! Closing as wxPython compiles fine with SIP 6.8.1. |
I'm trying to install from pypi using pip in Fedora 40 (GCC 14) and having this issue. Is it possible to force run sip when using |
On Fedora 40, you can just install wxPython with |
I know. But the same problem will happen in other linux distro with gcc14 and without wxpython package. |
Same issue here on Fedora 40, I did some digging and realized that while it is fixed in source, the release on PyPi includes an old version of SIP. Are there plans to update it anytime soon? I know I can build from source or use the rpm, but I have wxPython as a dependency in my project and it's nice when other people can just |
See #2553 |
This patch has helped me. But i will appreciate if someone tells how to patch source files before compilation in a python way, i.e. to download wxPython-4.2.1.tar.gz, unpack, then patch, after build by $ pip install wxPython |
Operating system: Gentoo Linux
wxPython version & source: Distro wxPython 4.2.1
Python version & source: Distro Python 3.11
Description of the problem:
GCC 14 makes
-Wincompatible-pointer-types
(among others) error out by default, so the build fails with the following error:The text was updated successfully, but these errors were encountered: