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 137634 - Build fails with latest glibmm
Build fails with latest glibmm
Status: RESOLVED FIXED
Product: gnome-vfsmm
Classification: Deprecated
Component: general
git master
Other Linux
: Normal blocker
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2004-03-18 22:33 UTC by Bryan Forbes
Modified: 2011-01-16 23:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Bryan Forbes 2004-03-18 22:33:40 UTC
The build dies here:

eps/transfer.TPlo  -fPIC -DPIC -o .libs/transfer.o
/usr/include/glibmm-2.3/glibmm/containerhandle_shared.h: In static member
   function `static T::BaseObjectType*
   Glib::Container_Helpers::TypeTraits<Glib::RefPtr<T_CppObject>
   >::to_c_type(const Glib::RefPtr<T_CppObject>&) [with T = const
   Gnome::Vfs::Uri]':
/usr/include/glibmm-2.3/glibmm/listhandle.h:47:   instantiated from `GList*
Glib::Container_Helpers::create_list(Bi, Bi, Tr) [with Bi =
std::_List_iterator<Glib::RefPtr<Gnome::Vfs::Uri>, const
Glib::RefPtr<Gnome::Vfs::Uri>&, const Glib::RefPtr<Gnome::Vfs::Uri>*>, Tr =
Glib::Container_Helpers::TypeTraits<Glib::RefPtr<const Gnome::Vfs::Uri> >]'
/usr/include/glibmm-2.3/glibmm/listhandle.h:81:   instantiated from `static
GList* Glib::Container_Helpers::ListSourceTraits<Tr, Cont>::get_data(const
Cont&) [with Tr = Glib::Container_Helpers::TypeTraits<Glib::RefPtr<const
Gnome::Vfs::Uri> >, Cont = Gnome::Vfs::Transfer::transfer_list(const
Glib::StringArrayHandle&, const Glib::StringArrayHandle&,
Gnome::Vfs::TransferOptions, Gnome::Vfs::ErrorMode,
Gnome::Vfs::OverwriteMode, const
Gnome::Vfs::Transfer::SlotProgress&)::uri_list]'
transfer.cc:272:   instantiated from `Glib::ListHandle<T,
Tr>::ListHandle(const Cont&) [with Cont =
Gnome::Vfs::Transfer::transfer_list(const Glib::StringArrayHandle&, const
Glib::StringArrayHandle&, Gnome::Vfs::TransferOptions,
Gnome::Vfs::ErrorMode, Gnome::Vfs::OverwriteMode, const
Gnome::Vfs::Transfer::SlotProgress&)::uri_list, T = Glib::RefPtr<const
Gnome::Vfs::Uri>, Tr =
Glib::Container_Helpers::TypeTraits<Glib::RefPtr<const Gnome::Vfs::Uri> >]'
transfer.cc:101:   instantiated from here
/usr/include/glibmm-2.3/glibmm/containerhandle_shared.h:203: invalid conversion
   from `const GnomeVFSURI*' to `GnomeVFSURI*'
make[3]: *** [transfer.lo] Error 1

I looked it over and couldn't figure out how to fix it.
Comment 1 Murray Cumming 2004-03-19 08:28:27 UTC
It works for me. What compiler is this? Is this the latest cvs glibmm?
Have you tried a fresh checkout? Are you sure you don't have any local
changes?
Comment 2 Bryan Forbes 2004-03-19 16:04:10 UTC
Compiler: gcc 3.2
This happens with both the latest release of glibmm and cvs head of glibmm
Comment 3 Bryan Forbes 2004-03-19 22:16:44 UTC
I have tried a fresh checkout and it still happens
there are no local changes to either tree
Comment 4 Bryan Forbes 2004-03-19 23:15:51 UTC
Downgrading glibmm to 2.3.6 (the release before the current release
2.3.7) allows gnome-vfsmm to compile.
Comment 5 Murray Cumming 2004-03-28 11:09:53 UTC
I fixed this a few days ago in glibmm.