[MacPorts] #43417: mpd: error: no type named 'function' in namespace 'std'

MacPorts noreply at macports.org
Sat Jun 14 09:45:46 PDT 2014


#43417: mpd: error: no type named 'function' in namespace 'std'
---------------------------+-----------------------------
  Reporter:  bnilsson11@…  |      Owner:  rmstonecipher@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.1
Resolution:                |   Keywords:
      Port:  mpd           |
---------------------------+-----------------------------

Comment (by devans@…):

 Replying to [ticket:43417 bnilsson11@…]:
 > Googling on "no type named 'function' in namespace 'std'" indicates a
 possible lack of C++11 support.
 >
 >

 Yes, std::function is a C++11 feature requiring libc++, meaning it will
 probably only build on Mavericks and higher, if at all.

-- 
Ticket URL: <https://trac.macports.org/ticket/43417#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list