[MacPorts] #71739: wxgtk-3.0 @3.0.5.1_4+x11: build fails on 10.7: error: no member named 'auto_ptr' in namespace 'std'
MacPorts
noreply at macports.org
Fri Jan 3 16:16:09 UTC 2025
#71739: wxgtk-3.0 @3.0.5.1_4+x11: build fails on 10.7: error: no member named
'auto_ptr' in namespace 'std'
------------------------+----------------------
Reporter: kencu | Owner: mojca
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: lion
Port: wxgtk-3.0 |
------------------------+----------------------
Comment (by kencu):
In other ports, we have been simply replacing all occurrences of auto_ptr
with unique_ptr to fix this.
Perhaps that could be tried.
Another option is to set an explicit c++ standard to whatever is needed,
as it appears none is being set in this build, and clang-16 is defaulting
to something new enough (c++17 or more) to trigger this error.
--
Ticket URL: <https://trac.macports.org/ticket/71739#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list