After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 139067 - the head of gnome-vfsmm does not compile.
the head of gnome-vfsmm does not compile.
Status: RESOLVED FIXED
Product: gnome-vfsmm
Classification: Deprecated
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-04-04 21:18 UTC by Hicham BOUHMADI
Modified: 2011-01-16 23:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Hicham BOUHMADI 2004-04-04 21:18:36 UTC
I tried building gnome26 using jhbuild.
I get the following error when building gnome-vfsmm. I tried solving it, but I
have the impression that there is some incompatibilities between the last
versions of glibmm and gnome-vfsmm.
Something has changed... I am sorry, I don't master the thing enough to solve it :(

Here is the error

In file included from async-handle.cc:402:
/home2/garnome/include/glibmm-2.3/glibmm/listhandle.h: In function `GList*
Glib::Container_Helpers::create_list(Bi, Bi, Tr) [with Bi =
Glib::Container_Helpers::ListHandleIterator<Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FileInfoResult*>
>, Tr = Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FileInfoResult>]':
/home2/garnome/include/glibmm-2.3/glibmm/listhandle.h:83:   instantiated from
`static GList* Glib::Container_Helpers::ListSourceTraits<Tr,
Cont>::get_data(const Cont&) [with Tr =
Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FileInfoResult>, Cont =
Glib::ListHandle<Gnome::Vfs::FileInfoResult*,
Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FileInfoResult*> >]'
/home2/garnome/include/glibmm-2.3/glibmm/listhandle.h:293:   instantiated from
`Glib::ListHandle<T, Tr>::ListHandle(const Cont&) [with Cont =
Glib::ListHandle<Gnome::Vfs::FileInfoResult*,
Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FileInfoResult*> >, T =
Gnome::Vfs::FileInfoResult, Tr =
Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FileInfoResult>]'
/home2/garnome/include/sigc++-2.0/sigc++/functors/slot.h:571:   instantiated
from `T_return sigc::slot2<T_return, T_arg1, T_arg2>::operator()(typename
sigc::type_trait<T_derived>::take, typename sigc::type_trait<T_arg3>::take)
const [with T_return = void, T_arg1 = const Gnome::Vfs::Async::Handle&, T_arg2 =
Glib::ListHandle<Gnome::Vfs::FileInfoResult,
Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FileInfoResult> >]'
async-handle.cc:402:   instantiated from here
/home2/garnome/include/glibmm-2.3/glibmm/listhandle.h:47: error: no match for
'operator--' in '--pend'
In file included from async-handle.cc:542:
/home2/garnome/include/glibmm-2.3/glibmm/listhandle.h: In function `GList*
Glib::Container_Helpers::create_list(Bi, Bi, Tr) [with Bi =
Glib::Container_Helpers::ListHandleIterator<Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FindDirectoryResult*>
>, Tr = Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FindDirectoryResult>]':
/home2/garnome/include/glibmm-2.3/glibmm/listhandle.h:83:   instantiated from
`static GList* Glib::Container_Helpers::ListSourceTraits<Tr,
Cont>::get_data(const Cont&) [with Tr =
Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FindDirectoryResult>, Cont =
Glib::ListHandle<Gnome::Vfs::FindDirectoryResult*,
Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FindDirectoryResult*> >]'
/home2/garnome/include/glibmm-2.3/glibmm/listhandle.h:293:   instantiated from
`Glib::ListHandle<T, Tr>::ListHandle(const Cont&) [with Cont =
Glib::ListHandle<Gnome::Vfs::FindDirectoryResult*,
Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FindDirectoryResult*> >, T =
Gnome::Vfs::FindDirectoryResult, Tr =
Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FindDirectoryResult>]'
/home2/garnome/include/sigc++-2.0/sigc++/functors/slot.h:571:   instantiated
from `T_return sigc::slot2<T_return, T_arg1, T_arg2>::operator()(typename
sigc::type_trait<T_derived>::take, typename sigc::type_trait<T_arg3>::take)
const [with T_return = void, T_arg1 = const Gnome::Vfs::Async::Handle&, T_arg2 =
Glib::ListHandle<Gnome::Vfs::FindDirectoryResult,
Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FindDirectoryResult> >]'
async-handle.cc:542:   instantiated from here
/home2/garnome/include/glibmm-2.3/glibmm/listhandle.h:47: error: no match for
'operator--' in '--pend'
/home2/garnome/include/glibmm-2.3/glibmm/listhandle.h: In destructor
`Glib::ListHandle<T, Tr>::~ListHandle() [with T = Gnome::Vfs::FileInfoResult, Tr
= Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FileInfoResult>]':
async-handle.cc:402:   instantiated from here
/home2/garnome/include/glibmm-2.3/glibmm/listhandle.h:320: error: invalid
static_cast from type `void*' to type `Gnome::Vfs::FileInfoResult'
/home2/garnome/include/glibmm-2.3/glibmm/listhandle.h: In destructor
`Glib::ListHandle<T, Tr>::~ListHandle() [with T =
Gnome::Vfs::FindDirectoryResult, Tr =
Glib::Container_Helpers::TypeTraits<Gnome::Vfs::FindDirectoryResult>]':
async-handle.cc:542:   instantiated from here
/home2/garnome/include/glibmm-2.3/glibmm/listhandle.h:320: error: invalid
static_cast from type `void*' to type `Gnome::Vfs::FindDirectoryResult'
make[4]: *** [async-handle.lo] Erreur 1
Comment 1 Murray Cumming 2004-04-05 08:53:10 UTC
Have you built glibmm from cvs also? What distro and compiler is this?
Comment 2 chami 2004-04-06 08:43:15 UTC
I am using a mandrake 9.2. gcc 3.3.1
I hade installed garnome 0.27.1 few weeks ago.
Based on your advise (see mailing list on 12/03/2004), this week end, I made a 
global 'jhbuild build' for gnome26. ==> yes, glibmm is also from cvs.
Comment 3 Murray Cumming 2004-04-07 12:38:57 UTC
Please try again, doing a fresh checkout. We just fixed some stuff, and it might
make a difference.
Comment 4 Murray Cumming 2004-04-22 11:08:45 UTC
Please reopen if this is still a problem.