[MacPorts] #61329: minizinc @2.5.0_0: error: chosen constructor is explicit in copy-initialization
MacPorts
noreply at macports.org
Fri Oct 16 19:11:31 UTC 2020
#61329: minizinc @2.5.0_0: error: chosen constructor is explicit in copy-
initialization
---------------------------+-------------------------
Reporter: chrstphrchvz | Owner: herbygillot
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords:
Port: minizinc |
---------------------------+-------------------------
Comment (by jmroot):
If minizinc requires C++14, it should say so with `compiler.cxx_standard`.
The error is of course correct according to the C++11 spec. This
particular error would be pretty easy to work around in the code, see e.g.
https://github.com/squid-
cache/squid/commit/84011c4813ca9949f949ecd90524fc468b5c1683
The project's CMakeLists.txt does not appear to be specifying that it
needs C++14, but it does set `CMAKE_OSX_DEPLOYMENT_TARGET` to 10.9 (no
indication why, but quite likely because that's when libc++ became the
default). There's probably a conversation to be had with upstream about
whether they actually want to require C++14, and if older OS versions can
be allowed if a new enough C++ compiler is available.
--
Ticket URL: <https://trac.macports.org/ticket/61329#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list