Re: [MacPorts] #54421: blackbox @0.70.1 won't build on Snow Leopard, Mac OS X 10.6.8, (cxx_stdlib = libc++) because – Clang 3.9 is too modern?

MacPorts noreply at macports.org
Tue Jul 4 21:33:27 UTC 2017


#54421: blackbox @0.70.1 won't build on Snow Leopard, Mac OS X 10.6.8, (cxx_stdlib
= libc++) because – Clang 3.9 is too modern?
------------------------+-------------------------
  Reporter:  ballapete  |      Owner:
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.1
Resolution:             |   Keywords:  snowleopard
      Port:  blackbox   |
------------------------+-------------------------

Comment (by kencu):

 this smells like one of those situations where it is missing a proper
 `-std=c++11` setting. `gcc` sets these defaults differently than clang, at
 present. Google is your friend here -- others may have solved this already
 for you. Or search for this string in Macports, as it has likely happened
 in other ports too.

 if you can't find anything, try something like `configure.cxxflags-append
 -std=c++11` and see what happens.

 BTW - you can't mix libc++ and things built with gcc-4.2 without invoking
 disaster.

--
Ticket URL: <https://trac.macports.org/ticket/54421#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list