[MacPorts] #71463: wxWidgets: any way to avoid ABI mismatch errors due to updated compiler?
MacPorts
noreply at macports.org
Thu Dec 5 16:13:01 UTC 2024
#71463: wxWidgets: any way to avoid ABI mismatch errors due to updated compiler?
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: wxWidgets |
---------------------------+--------------------
Comment (by kencu):
the different gcc versions default to slightly different gcc c++ abi
versions.
the abi versions are listed here:
https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html
here’s a useful post:
https://groups.google.com/g/wx-users/c/SQA3DpFwsxA/m/d7J7E4DDBAAJ
wxwidgets abi checking happens here:
https://github.com/wxWidgets/wxWidgets/blob/d78b464c5a3e52fee3418b31fff2e4bd73bd3dd0/include/wx/build.h#L59
and this commit told wxwidgets to ignore all abi changes if the abi was
greater than 1002:
https://github.com/wxWidgets/wxWidgets/blob/610db240a8c8c36672f44e34fb0b368b983f1473/include/wx/build.h
you’ll have to do some further checking to see when that last commit came
into wxwidgets, and whether the basic idea of it can be backported to
earlier wxwidgets versions.
--
Ticket URL: <https://trac.macports.org/ticket/71463#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list