[MacPorts] #60026: bact @ 0.13 : bact_mkmodel.cpp:114:21: error: no matching function for call to 'make_pair'
MacPorts
noreply at macports.org
Wed Jan 29 05:32:44 UTC 2020
#60026: bact @ 0.13 : bact_mkmodel.cpp:114:21: error: no matching function for call
to 'make_pair'
-------------------------+--------------------
Reporter: Cor0n4V1rus | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: bact
-------------------------+--------------------
aside from some warnings, got this error:
{{{
bact_mkmodel.cpp:114:21: error: no matching function for call to
'make_pair'
ary2.push_back (std::make_pair <const char*,
double>(it->first.c_str(), a));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/local/libexec/llvm-9.0/bin/../include/c++/v1/utility:667:1: note:
candidate function template not viable: no known conversion from 'double'
to 'double &&' for 2nd argument
make_pair(_T1&& __t1, _T2&& __t2)
^
1 warning and 1 error generated.
}}}
tried compiling with macports-clang-9.0, 8.0, 7.0, 6.0, no success, same
error, but with 5.0 it compiled just fine.
don't know, if still someone cares about such an old software.
--
Ticket URL: <https://trac.macports.org/ticket/60026>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list