Re: [MacPorts] #53719: highlight @3.35 does not build with libstdc++ because of missing 'to_string’ declaration "in this scope"
MacPorts
noreply at macports.org
Tue Apr 18 04:21:21 UTC 2017
#53719: highlight @3.35 does not build with libstdc++ because of missing
'to_string’ declaration "in this scope"
-------------------------+-------------------------------------------------
Reporter: ballapete | Owner:
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.1
Resolution: | Keywords: tiger leopard snowleopard lion
Port: highlight | mountainlion
-------------------------+-------------------------------------------------
Comment (by iEFdev):
Incase it will help anyone esle… I managed to upgrade `highlight` now,
using a couple of configure options.
Adding `cxx_stdlib libc++` to to the conf file didn't help. But I found an
install note on the
[http://wiki.inkscape.org/wiki/index.php/CompilingMacOsX#Compiling_with_clang_3.3_and_libc.2B.2B_.28c.2B.2B11_enabled.29_.282013.29
Inkscape-page: CompilingMacOsX#Compiling_with_clang_3.3_and_libc], so I
used:
Just using both options to inlcude `libc++` made it through.
{{{
sudo port upgrade highlight configure.cxxflags="-stdlib=libc++"
configure.cxx="clang++ -stdlib=libc++"
}}}
{{{
$ port -v installed highlight
The following ports are currently installed:
highlight @3.36_0 (active) platform='darwin 11' archs='x86_64'
date='2017-04-18T06:14:46+0200'
}}}
--
Ticket URL: <https://trac.macports.org/ticket/53719#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list