khtml compile + Valgrind
David Faure
faure at kde.org
Wed Mar 1 20:39:42 GMT 2006
On Wednesday 01 March 2006 20:02, Martin Koller wrote:
> Hi,
>
> with a current snapshot I get the following errors
>
> /home/KDE4/source/kdelibs/khtml/misc/arena.cpp: In function `void*
> khtml::ArenaAllocate(khtml::ArenaPool*, unsigned int)':
> /home/KDE4/source/kdelibs/khtml/misc/arena.cpp:156: error: `
> VALGRIND_MEMPOOL_ALLOC' undeclared (first use this function)
> ...
>
> Shouldn't there be some valgrind include and probably ifdefd ?
> BTW: in my /usr/include/valgrind/valgrind.h I don't have this define, but it's
> rather old valgrind-2.0.0; in config.h I find
> #define HAVE_VALGRIND_MEMCHECK_H 1
So you have valgrind/memcheck.h but it doesn't define VALGRIND_MEMPOOL_ALLOC?
Sounds like we need to refine the configure check...
--
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel
mailing list