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 491469 - fix of gcc 4.3 compilation errors
fix of gcc 4.3 compilation errors
Status: RESOLVED FIXED
Product: libgnomeuimm
Classification: Other
Component: general
git master
Other All
: Normal major
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2007-10-29 17:51 UTC by Stanislav Brabec
Modified: 2011-01-16 23:41 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
libgnomeuimm-implicit-declaration.patch (1.04 KB, patch)
2007-10-29 17:52 UTC, Stanislav Brabec
none Details | Review
libgnomeuimm-random-return.patch (486 bytes, patch)
2007-10-29 17:52 UTC, Stanislav Brabec
none Details | Review

Description Stanislav Brabec 2007-10-29 17:51:17 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:
Comment 1 Stanislav Brabec 2007-10-29 17:52:25 UTC
Created attachment 98125 [details] [review]
libgnomeuimm-implicit-declaration.patch

Fix for functions used without including any header.
Comment 2 Stanislav Brabec 2007-10-29 17:52:59 UTC
Created attachment 98127 [details] [review]
libgnomeuimm-random-return.patch

Fix for "control reaches end of non-void function".
Comment 3 Murray Cumming 2007-11-03 15:37:50 UTC
Please apply (if you have svn write access), with a ChangeLog entry.
Comment 4 Stanislav Brabec 2007-11-08 13:14:19 UTC
Applied to trunk.