[MacPorts] #59822: cmake @3.16.1: error: no matching constructor for initialization of 'const std::vector<ExpectedSpec>'
MacPorts
noreply at macports.org
Fri Dec 13 19:54:50 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've done a -lot- of playing around with the default compiler on OSX
10.9.5, which is Xcode 6.2 (6C131e) "Apple LLVM version 6.0
(clang-600.0.57) (based on LLVM 3.5svn)". I'm pretty convinced that it
can't handle the C++11 `std::initializer_list` parsing required by the
code. MacPorts Clang 3.7 builds this code just fine; it's the oldest I
have installed right now. As soon as the updates are complete I'll install
clang-3.4 and clang-3.5 to see if either of those work -- guessing 3.4
won't, but 3.5 might.
Anyway, my current believe of our best solution here is to just blacklist
this compiler on older OSX (e.g., "clang < 3.7") or however we phrase it.
By now, most of the older OSX will have mulitple modern compilers
installed already, so I don't see this as a deal-breaker -- at least so
long as we can disable testing to bootstrap cmake using the Xcode-provided
compiler ... not sure we do that right now for when bootstrapping ... hmmm
... have to look into disabling testing for when we're doing that.
--
Ticket URL: <https://trac.macports.org/ticket/59822#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list