Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207430 - dev-cpp/libgnomeuimm-2.20.0 doesn't compile with gcc-4.3
Summary: dev-cpp/libgnomeuimm-2.20.0 doesn't compile with gcc-4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: GNOME C++ Bindings Maintainers (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-25 23:11 UTC by milan hodoscek
Modified: 2008-02-06 22:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
compile libgnomeuimm with gcc-4.3 (libgnomeuimm-gcc43.patch,615 bytes, patch)
2008-01-27 16:54 UTC, milan hodoscek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description milan hodoscek 2008-01-25 23:11:13 UTC
dev-cpp/libgnomeuimm-2.20.0 doesn't compile with gcc-4.3

add #include <cstring> in the beginning of the following files:

libgnomeui/libgnomeuimm/app-helper.cc
examples/iconlist/iconlist2.cc
Comment 1 Rémi Cardona (RETIRED) gentoo-dev 2008-01-26 08:12:30 UTC
Please send patches to upstream, copy the bug url here and we'll put them in portage.

Thanks for reporting
Comment 2 milan hodoscek 2008-01-27 16:54:45 UTC
Created attachment 141899 [details, diff]
compile libgnomeuimm with gcc-4.3
Comment 3 milan hodoscek 2008-01-27 16:55:41 UTC
OK, I made the patches for this in the attachement. Hope they work as is :-)
Comment 4 milan hodoscek 2008-01-27 16:57:58 UTC
I am adding the error message so that people can search for it

.lo -MD -MP -MF .deps/ui-items-stock.Tpo -c ui-items-stock.cc  -fPIC -DPIC -o .libs/ui-items-stock.o
mv -f .deps/wrap_init.Tpo .deps/wrap_init.Plo
mv -f .deps/init.Tpo .deps/init.Plo
mv -f .deps/ui-items-icon.Tpo .deps/ui-items-icon.Plo
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
make[4]: *** [app-helper.lo] Error 1
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-02-06 22:32:41 UTC
I've bumped to 2.20.1 which supposedly has the patches
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-02-06 22:33:19 UTC
if it's not fixed, please reopen. Thanks for reporting.