Opened 5 years ago

Closed 5 years ago

#57684 closed defect (fixed)

psi @1.4: fatal error: 'initializer_list' file not found

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: rowue (Rolf Würdemann)
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard lion mountainlion Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: psi

Description

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.

Change History (1)

comment:1 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: assignedclosed

In d75e07c5d03136cc940e0f7fda45b7613be38c80/macports-ports (master):

psi: respect more MacPorts compiler flags

Fixes #57684

Note: See TracTickets for help on using tickets.