[kde-freebsd] [SVN Commit] area51/PORTS/devel
Raphael Kubo da Costa
rakuco at FreeBSD.org
Tue May 29 00:53:34 UTC 2012
Schaich Alonso <alonsoschaich at fastmail.fm> writes:
> [ 10%] Building CXX object languages/cpp/cppduchain/CMakeFiles/kdev4cppduchain.dir/declarationbuilder.o
> /usr/obj/usr/ports/devel/kdevelop-kde4/work/kdevelop-4.3.1/languages/cpp/cppduchain/declarationbuilder.cp
> matching constructor for initialization of 'std::list<Declaration *>'
> std::list<Declaration*> worklist(decls.begin(), decls.end());
> ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/c++/v1/list:810:5: note: candidate constructor not viable: no known conversion from 'QList<K
> *>::iterator' to 'size_type' (aka 'unsigned long') for 1st argument;
> list(size_type __n, const value_type& __x);
> ^
> /usr/include/c++/v1/list:820:5: note: candidate constructor not viable: no known conversion from 'QList<K
> *>::iterator' to 'const std::__1::list<KDevelop::Declaration *, std::__1::allocator<KDevelop::Decla
> argument;
> list(const list& __c, const allocator_type& __a);
> ^
> /usr/include/c++/v1/list:824:5: note: candidate constructor not viable: no known conversion from 'QList<KDevelop::Declaration
> *>::iterator' to 'initializer_list<value_type>' for 1st argument;
> list(initializer_list<value_type> __il, const allocator_type& __a);
> ^
> /usr/include/c++/v1/list:829:5: note: candidate constructor not viable: no known conversion from 'QList<KDevelop::Declaration
> *>::iterator' to 'std::__1::list<KDevelop::Declaration *, std::__1::allocator<KDevelop::Declaration *> >' for 1st
> argument;
> list(list&& __c, const allocator_type& __a);
> ^
> /usr/include/c++/v1/list:813:9: note: candidate template ignored: substitution failure [with _InpIter =
> QList<KDevelop::Declaration *>::iterator]
> list(_InpIter __f, _InpIter __l,
> ^
Weird, the last constructor above should have matched. While your
patches do look OK, I would really be glad if you could take this to
theraven@ and the libc++ folks first.
More information about the kde-freebsd
mailing list