gizmod 3.5 compilation error with gcc-4.4.2
Brought to you by:
flithm
I'm helping to maintain a Gentoo ebuild for gizmod in the sunrise overlay (http://overlays.gentoo.org/proj/sunrise/browser/sunrise/app-misc/gizmod). The other day, a user was compiling this ebuild with gcc 4.4.2 and received the following error:
/var/tmp/paludis/app-misc-gizmod-3.5/work/gizmod-3.5/libGizmod/CPUUsage.cpp:83:
error: 'memset' was not declared in this scope
You can read the bug for gizmod ebuild here (bottom post): http://bugs.gentoo.org/show_bug.cgi?id=134016
Other bugs related to this ebuild will likely be there as well.
The user submitted a patch that I've attached here.
Thanks!
~jtriley
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
patch for gizmod 3.5 that fixes this error
libGizmod/CPUUsage.cpp
add:
#include <stdlib.h>
#include <string.h>