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 515727 - 2.15.4 not compiling with glib 2.15.5
2.15.4 not compiling with glib 2.15.5
Status: RESOLVED FIXED
Product: glibmm
Classification: Bindings
Component: build
2.15.x
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2008-02-11 10:17 UTC by Denis Leroy
Modified: 2008-02-12 14:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Denis Leroy 2008-02-11 10:17:38 UTC
It looks like you guys are releasing code using stuff that's not even released yet! :-)

file.cc:3230: error: 'g_file_query_default_handler' was not declared in this scope
Comment 1 Marko Anastasov 2008-02-11 10:24:35 UTC
Indeed, that function was added after glib 2.15.4.
Comment 2 Murray Cumming 2008-02-11 14:33:36 UTC
Oh well. A new glib tarball will arrive sooner or later.
Comment 3 Jonathon Jongsma 2008-02-11 23:13:08 UTC
2.15.5 was just released, I guess it should build with that tarball.  I've committed a change to glibmm to require this version in svn.
Comment 4 Denis Leroy 2008-02-12 09:19:03 UTC
Does not compile with 2.5.15 either :

file.cc: In member function 'void Gio::File::mount_mountable(const Glib::RefPtr<Gio::MountOperation>&, const Gio::SlotAsyncReady&, const Glib::RefPtr<Gio::Cancellable>&)':
file.cc:1018: error: cannot convert 'GMountOperation*' to 'GMountMountFlags' for argument '2' to 'void g_file_mount_mountable(GFile*, GMountMountFlags, GMountOperation*, GCancellable*, void (*)(GObject*, GAsyncResult*, void*), void*)'
file.cc: In member function 'void Gio::File::mount_mountable(const Glib::RefPtr<Gio::MountOperation>&, const Gio::SlotAsyncReady&)':
file.cc:1032: error: cannot convert 'GMountOperation*' to 'GMountMountFlags' for argument '2' to 'void g_file_mount_mountable(GFile*, GMountMountFlags, GMountOperation*, GCancellable*, void (*)(GObject*, GAsyncResult*, void*), void*)'
file.cc: In member function 'void Gio::File::mount_mountable(const Gio::SlotAsyncReady&)':
file.cc:1046: error: invalid conversion from 'int' to 'GMountMountFlags'
file.cc:1046: error: cannot convert 'void (*)(GObject*, GAsyncResult*, void*)' to 'GCancellable*' for argument '4' to 'void g_file_mount_mountable(GFile*, GMountMountFlags, GMountOperation*, GCancellable*, void (*)(GObject*, GAsyncResult*, void*), void*)'
file.cc: In member function 'void Gio::File::mount_mountable()':
file.cc:1055: error: invalid conversion from 'int' to 'GMountMountFlags'
/usr/include/glib-2.0/gio/gfile.h:818: error: too few arguments to function 'void g_file_mount_mountable(GFile*, GMountMountFlags, GMountOperation*, GCancellable*, void (*)(GObject*, GAsyncResult*, void*), void*)'
file.cc:1055: error: at this point in file
file.cc: In member function 'void Gio::File::mount_enclosing_volume(const Glib::RefPtr<Gio::MountOperation>&, const Gio::SlotAsyncReady&, const Glib::RefPtr<Gio::Cancellable>&)':
file.cc:1108: error: cannot convert 'GMountOperation*' to 'GMountMountFlags' for argument '2' to 'void g_file_mount_enclosing_volume(GFile*, GMountMountFlags, GMountOperation*, GCancellable*, void (*)(GObject*, GAsyncResult*, void*), void*)'
file.cc: In member function 'void Gio::File::mount_enclosing_volume(const Glib::RefPtr<Gio::MountOperation>&, const Gio::SlotAsyncReady&)':
file.cc:1122: error: cannot convert 'GMountOperation*' to 'GMountMountFlags' for argument '2' to 'void g_file_mount_enclosing_volume(GFile*, GMountMountFlags, GMountOperation*, GCancellable*, void (*)(GObject*, GAsyncResult*, void*), void*)'
file.cc: In member function 'void Gio::File::mount_enclosing_volume(const Gio::SlotAsyncReady&)':
file.cc:1136: error: invalid conversion from 'int' to 'GMountMountFlags'
file.cc:1136: error: cannot convert 'void (*)(GObject*, GAsyncResult*, void*)' to 'GCancellable*' for argument '4' to 'void g_file_mount_enclosing_volume(GFile*, GMountMountFlags, GMountOperation*, GCancellable*, void (*)(GObject*, GAsyncResult*, void*), void*)'
file.cc: In member function 'void Gio::File::mount_enclosing_volume()':
file.cc:1145: error: invalid conversion from 'int' to 'GMountMountFlags'
/usr/include/glib-2.0/gio/gfile.h:809: error: too few arguments to function 'void g_file_mount_enclosing_volume(GFile*, GMountMountFlags, GMountOperation*, GCancellable*, void (*)(GObject*, GAsyncResult*, void*), void*)'
file.cc:1145: error: at this point in file
Comment 5 Jonathon Jongsma 2008-02-12 12:01:40 UTC
ugh, that change was in the 2.15.5 tarball of glib?  Well, I fixed that error in svn last night, so I guess you'll just have to wait for the next glibmm release.
Comment 6 Murray Cumming 2008-02-12 14:13:12 UTC
I released a new glibmm tarball.