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 586126 - Build fails with gcc 4.4 and gtk+ 2.17.2
Build fails with gcc 4.4 and gtk+ 2.17.2
Status: RESOLVED FIXED
Product: gtkmm
Classification: Bindings
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
: 586254 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-06-17 13:10 UTC by Vincent Untz
Modified: 2009-06-22 13:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Untz 2009-06-17 13:10:53 UTC
I have this build failure:

recentinfo.cc: In member function 'bool Gtk::RecentInfo::get_application_info(const Glib::ustring&, Glib::StringArrayHandle&, guint&, time_t&) const':
recentinfo.cc:192: error: invalid conversion from 'gchar**' to 'const gchar**'
recentinfo.cc:192: error: initializing argument 3 of 'gboolean gtk_recent_info_get_application_info(GtkRecentInfo*, const gchar*, const gchar**, guint*, time_t*)'


Note that gtk+ commit 362127c33c16b8626d4a4b8925bfb7b03bee0b6b does:

 gtk_recent_info_get_application_info (GtkRecentInfo  *info,
                                      const gchar    *app_name,
-                                     gchar         **app_exec,
+                                     const gchar   **app_exec,
                                      guint          *count,
                                      time_t         *time_)
Comment 1 Vincent Untz 2009-06-18 12:56:25 UTC
*** Bug 586254 has been marked as a duplicate of this bug. ***
Comment 2 Murray Cumming 2009-06-22 13:26:51 UTC
This is just a change in the GTK+ API in GTK+ 2.17. I have committed a fix in gtkmm's master branch in git.