[MacPorts] #59822: cmake @3.16.1: error: no matching constructor for initialization of 'const std::vector<ExpectedSpec>'

MacPorts noreply at macports.org
Sat Dec 14 14:20:58 UTC 2019


#59822: cmake @3.16.1: error: no matching constructor for initialization of 'const
std::vector<ExpectedSpec>'
----------------------+------------------------------------
  Reporter:  letaage  |      Owner:  michaelld
      Type:  defect   |     Status:  assigned
  Priority:  High     |  Milestone:
 Component:  ports    |    Version:  2.6.2
Resolution:           |   Keywords:  mountainlion mavericks
      Port:  cmake    |
----------------------+------------------------------------

Comment (by michaelld):

 I tried forcing c++11 with this compiler (via extracting the build command
 and replacing the gnu++1y with c++11), and it still didn't work ... same
 issue. Somehow, as you note, the compiler isn't interpreting the
 initializer_list for std::map correctly. Hence, IMHO the compiler is
 broken for this specific project's needs, and blacklisting it is the right
 thing to do.

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


More information about the macports-tickets mailing list