Nheghathivhistha n00b
Joined: 18 Jan 2014 Posts: 17
|
Posted: Wed Feb 26, 2014 6:36 pm Post subject: app-office/libreoffice-4.2.1.1 - gcc 4.9.0 revision 208166 |
|
|
Hi.
I was able to buld libreoffice 4.2.0.4 with experimental gcc from the Febraury the 19th 2014.
I upgraded to revision 208166 from yesterday and went into a troubles.
Can you please see the same? Or is it solved with the latest gcc 4.9 trunk revision?
Thank you in advance.
g++-v4/bits/predefined_ops.h:231:30: error: no match for call to '(std::binder2nd<std::pointer_to_binary_function<const _JavaInfo*, const _JavaInfo*, unsigned char> >) (jfw::CJavaInfo&)'
{ return bool(_M_pred(*__it)); }
[build CXX] bridges/source/cpp_uno/gcc3_linux_x86-64/except.cxx
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/bits/stl_algobase.h:71:0,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/bits/char_traits.h:39,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/ios:40,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/ostream:38,
from /var/tmp/portage/app-office/libreoffice-4.2.1.1/work/libreoffice-4.2.1.1/include/rtl/ustring.hxx:27,
from /var/tmp/portage/app-office/libreoffice-4.2.1.1/work/libreoffice-4.2.1.1/jvmfwk/source/framework.cxx:21:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Iter_pred<_Predicate>::operator()(_Iterator) [with _Iterator = __gnu_cxx::__normal_iterator<jfw::CJavaInfo*, std::vector<jfw::CJavaInfo> >; _Predicate = std::binder2nd<std::pointer_to_binary_function<const _JavaInfo*, const _JavaInfo*, unsigned char> >]':
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/bits/stl_algo.h:120:22: required from '_RandomAccessIterator std::__find_if(_RandomAccessIterator, _RandomAccessIterator, _Predicate, std::random_access_iterator_tag) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<jfw::CJavaInfo*, std::vector<jfw::CJavaInfo> >; _Predicate = __gnu_cxx::__ops::_Iter_pred<std::binder2nd<std::pointer_to_binary_function<const _JavaInfo*, const _JavaInfo*, unsigned char> > >]'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/bits/stl_algo.h:162:43: required from '_Iterator std::__find_if(_Iterator, _Iterator, _Predicate) [with _Iterator = __gnu_cxx::__normal_iterator<jfw::CJavaInfo*, std::vector<jfw::CJavaInfo> >; _Predicate = __gnu_cxx::__ops::_Iter_pred<std::binder2nd<std::pointer_to_binary_function<const _JavaInfo*, const _JavaInfo*, unsigned char> > >]'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/bits/stl_algo.h:3804:45: required from '_IIter std::find_if(_IIter, _IIter, _Predicate) [with _IIter = __gnu_cxx::__normal_iterator<jfw::CJavaInfo*, std::vector<jfw::CJavaInfo> >; _Predicate = std::binder2nd<std::pointer_to_binary_function<const _JavaInfo*, const _JavaInfo*, unsigned char> >]'
/var/tmp/portage/app-office/libreoffice-4.2.1.1/work/libreoffice-4.2.1.1/jvmfwk/source/framework.cxx:215:84: required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/bits/predefined_ops.h:231:30: error: no match for call to '(std::binder2nd<std::pointer_to_binary_function<const _JavaInfo*, const _JavaInfo*, unsigned char> >) (jfw::CJavaInfo&)'
{ return bool(_M_pred(*__it)); }
^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/bits/stl_function.h:1080:0,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/string:48,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/bits/locale_classes.h:40,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/bits/ios_base.h:41,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/ios:42,
from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/ostream:38,
from /var/tmp/portage/app-office/libreoffice-4.2.1.1/work/libreoffice-4.2.1.1/include/rtl/ustring.hxx:27,
from /var/tmp/portage/app-office/libreoffice-4.2.1.1/work/libreoffice-4.2.1.1/jvmfwk/source/framework.cxx:21:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/backward/binders.h:139:11: note: candidates are:
class binder2nd
^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/backward/binders.h:153:7: note: typename _Operation::result_type std::binder2nd<_Operation>::operator()(const typename _Operation::first_argument_type&) const [with _Operation = std::pointer_to_binary_function<const _JavaInfo*, const _JavaInfo*, unsigned char>; typename _Operation::result_type = unsigned char; typename _Operation::first_argument_type = const _JavaInfo*]
operator()(const typename _Operation::first_argument_type& __x) const
^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/backward/binders.h:153:7: note: no known conversion for argument 1 from 'jfw::CJavaInfo' to 'const _JavaInfo* const&'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/backward/binders.h:159:7: note: typename _Operation::result_type std::binder2nd<_Operation>::operator()(typename _Operation::first_argument_type&) const [with _Operation = std::pointer_to_binary_function<const _JavaInfo*, const _JavaInfo*, unsigned char>; typename _Operation::result_type = unsigned char; typename _Operation::first_argument_type = const _JavaInfo*]
operator()(typename _Operation::first_argument_type& __x) const
^
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.0-alpha20140225/include/g++-v4/backward/binders.h:159:7: note: no known conversion for argument 1 from 'jfw::CJavaInfo' to 'const _JavaInfo*&'
/var/tmp/portage/app-office/libreoffice-4.2.1.1/work/libreoffice-4.2.1.1/solenv/gbuild/LinkTarget.mk:177: recipe for target '/var/tmp/portage/app-office/libreoffice-4.2.1.1/work/libreoffice-4.2.1.1/workdir/CxxObject/jvmfwk/source/framework.o' failed
make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.2.1.1/work/libreoffice-4.2.1.1/workdir/CxxObject/jvmfwk/source/framework.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/app-office/libreoffice-4.2.1.1/work/libreoffice-4.2.1.1'
Makefile:217: recipe for target 'build' failed
make: *** [build] Error 2
* ERROR: app-office/libreoffice-4.2.1.1::gentoo failed (compile phase): |
|