[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:40:41 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):
If we replace auto_ptr with unique_ptr then we will need to force a c++11
compiler to be used.
It looks like wxgtk-3.0 has been building all along with the system
compiler against an older default standard.
There are apparently changes that happen when you build wxgtk-3.0 with a
c++11 compiler -- see the portfile.
It is probably more compatible to set the c++ standard to something older
than c++11 therefore. Whatever the compiler defaulted to before, probably
c++03.
--
Ticket URL: <https://trac.macports.org/ticket/71739#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list