GNOME Bugzilla – Bug 491469
fix of gcc 4.3 compilation errors
Last modified: 2011-01-16 23:41:39 UTC
Please describe the problem: Attached patch fixes gcc 4.3 compilation errors and warning. Steps to reproduce: app-helper.cc: In copy constructor 'Gnome::UI::Items::Info::Info(const Gnome::UI::Items::Info&)': app-helper.cc:83: error: 'memcpy' was not declared in this scope app-helper.cc: In member function 'Gnome::UI::Items::Info& Gnome::UI::Items::Info::operator=(const Gnome::UI::Items::Info&)': app-helper.cc:100: error: 'memcpy' was not declared in this scope iconlist2.cc: In member function 'virtual void TestIconList::on_drag_data_get(const Glib::RefPtr<Gdk::DragContext>&, Gtk::SelectionData&, guint, guint)': iconlist2.cc:72: error: 'strlen' was not declared in this scope Actual results: Expected results: Does this happen every time? Other information:
Created attachment 98125 [details] [review] libgnomeuimm-implicit-declaration.patch Fix for functions used without including any header.
Created attachment 98127 [details] [review] libgnomeuimm-random-return.patch Fix for "control reaches end of non-void function".
Please apply (if you have svn write access), with a ChangeLog entry.
Applied to trunk.