Menu

#8 gizmod 3.5 compilation error with gcc-4.4.2

open
nobody
None
5
2009-12-12
2009-12-12
Anonymous
No

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

Discussion

  • tkteun

    tkteun - 2010-04-07

    libGizmod/CPUUsage.cpp

    add:
    #include <stdlib.h>
    #include <string.h>

     

Log in to post a comment.