Opened 5 years ago
Last modified 5 years ago
#60026 new defect
bact @0.13: bact_mkmodel.cpp:114:21: error: no matching function for call to 'make_pair'
Reported by: | Cor0n4V1rus | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt) |
Port: | bact |
Description
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.
Attachments (2)
Change History (4)
Changed 5 years ago by Cor0n4V1rus
Attachment: | bact-fail.log added |
---|
Changed 5 years ago by Cor0n4V1rus
Attachment: | bact-ok.log added |
---|
comment:1 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|
comment:2 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | bact @ 0.13 : bact_mkmodel.cpp:114:21: error: no matching function for call to 'make_pair' → bact @0.13: bact_mkmodel.cpp:114:21: error: no matching function for call to 'make_pair' |
---|
Note: See
TracTickets for help on using
tickets.
The Gentoo bug corresponding to this problem:
https://bugs.gentoo.org/594312
The patch they used to fix it:
https://github.com/kolodziej/gentoo/blob/1d7030ca4291b2d48a27704743144d9366072617/app-text/bact/files/bact-0.13-cpp14.patch