Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 446528 Details for
Bug 594312
app-text/bact-0.13 : bact_mkmodel.cpp:114:78: error: no matching function for call to ‘make_pair(const char*, double&)’
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-text:bact-0.13:20160918-220326.log
app-text:bact-0.13:20160918-220326.log (text/plain), 5.69 KB, created by
Toralf Förster
on 2016-09-19 08:24:36 UTC
(
hide
)
Description:
app-text:bact-0.13:20160918-220326.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2016-09-19 08:24:36 UTC
Size:
5.69 KB
patch
obsolete
> * Package: app-text/bact-0.13 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking bact-0.13.tar.gz to /var/tmp/portage/app-text/bact-0.13/work >>>> Source unpacked in /var/tmp/portage/app-text/bact-0.13/work >>>> Preparing source in /var/tmp/portage/app-text/bact-0.13/work/bact-0.13 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-text/bact-0.13/work/bact-0.13 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-text/bact-0.13/work/bact-0.13 ... >make -j1 CXX=x86_64-pc-linux-gnu-g++ 'CXXFLAGS=-march=native -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' >x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -c -o bact_learn.o bact_learn.cpp >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/backward/strstream:50:0, > from bact_learn.cpp:28: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] > #warning \ > ^~~~~~~ >bact_learn.cpp: In member function âbool BactLearner::read(const char*)â: >bact_learn.cpp:124:49: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > if (2 != tokenize (line, "\t ", column, 2)) { > ^ >x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -c -o str2node.o str2node.cpp >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/backward/strstream:50:0, > from common.h:10, > from str2node.cpp:4: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] > #warning \ > ^~~~~~~ >x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -o bact_learn str2node.o bact_learn.o -Wl,-O1 -Wl,--as-needed >x86_64-pc-linux-gnu-g++ -march=native -O2 -pipe -c -o bact_mkmodel.o bact_mkmodel.cpp >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/backward/strstream:50:0, > from common.h:10, > from bact_mkmodel.cpp:31: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] > #warning \ > ^~~~~~~ >bact_mkmodel.cpp: In function âint main(int, char**)â: >bact_mkmodel.cpp:99:40: warning: ISO C++ forbids converting a string constant to âchar*â [-Wwrite-strings] > if (tokenize (buf, "\t ", column, 2) != 2) { > ^ >bact_mkmodel.cpp:114:78: error: no matching function for call to âmake_pair(const char*, double&)â > ary2.push_back (std::make_pair <const char*, double>(it->first.c_str(), a)); > ^ >In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_algobase.h:64:0, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/char_traits.h:39, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/ios:40, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/ostream:38, > from /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/iostream:39, > from bact_mkmodel.cpp:24: >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_pair.h:425:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&) > make_pair(_T1&& __x, _T2&& __y) > ^~~~~~~~~ >/usr/lib/gcc/x86_64-pc-linux-gnu/6.2.0/include/g++-v6/bits/stl_pair.h:425:5: note: template argument deduction/substitution failed: >bact_mkmodel.cpp:114:78: note: cannot convert âaâ (type âdoubleâ) to type âdouble&&â > ary2.push_back (std::make_pair <const char*, double>(it->first.c_str(), a)); > ^ >make: *** [<builtin>: bact_mkmodel.o] Error 1 > * ERROR: app-text/bact-0.13::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-text/bact-0.13::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-text/bact-0.13::gentoo'`. > * The complete build log is located at '/var/log/portage/app-text:bact-0.13:20160918-220326.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/bact-0.13/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-text/bact-0.13/temp/environment'. > * Working directory: '/var/tmp/portage/app-text/bact-0.13/work/bact-0.13' > * S: '/var/tmp/portage/app-text/bact-0.13/work/bact-0.13'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 594312
: 446528 |
446530
|
446532
|
447810