MacPorts
2018-11-26 22:52:43 UTC
#57684: psi @1.4: fatal error: 'initializer_list' file not found
-------------------------------------------+----------------------
Reporter: ryandesign | Owner: rowue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: snowleopard lion mountainlion | Port: psi
-------------------------------------------+----------------------
[https://build.macports.org/builders/ports-10.8_x86_64_legacy-
builder/builds/79930/steps/install-port/logs/stdio psi fails on 10.8]:
{{{
/opt/local/libexec/qt4/include/QtCore/qlist.h:55:10: fatal error:
'initializer_list' file not found
#include <initializer_list>
^~~~~~~~~~~~~~~~~~
}}}
Looks like this is because it uses C++11. The port already includes the
cxx11 1.1 portgroup, but the build system is not making use of the
CXXFLAGS MacPorts sets, so the necessary `-stdlib` flag is not being used.
-------------------------------------------+----------------------
Reporter: ryandesign | Owner: rowue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: snowleopard lion mountainlion | Port: psi
-------------------------------------------+----------------------
[https://build.macports.org/builders/ports-10.8_x86_64_legacy-
builder/builds/79930/steps/install-port/logs/stdio psi fails on 10.8]:
{{{
/opt/local/libexec/qt4/include/QtCore/qlist.h:55:10: fatal error:
'initializer_list' file not found
#include <initializer_list>
^~~~~~~~~~~~~~~~~~
}}}
Looks like this is because it uses C++11. The port already includes the
cxx11 1.1 portgroup, but the build system is not making use of the
CXXFLAGS MacPorts sets, so the necessary `-stdlib` flag is not being used.
--
Ticket URL: <https://trac.macports.org/ticket/57684>
MacPorts <https://www.macports.org/>
Ports system for macOS
Ticket URL: <https://trac.macports.org/ticket/57684>
MacPorts <https://www.macports.org/>
Ports system for macOS