I don't think it's the good idea... Look at the comment :
// This does not work with DMALLOC, since the internal data structures // differ. And after we have : #ifdef HAVE_DMALLOC we should have #if _NOT_ def HAVE_DMALLOC things which works with malloc and doesn't with dmalloc. #endif 2006/5/24, strk <[EMAIL PROTECTED]>:
On Wed, May 24, 2006 at 02:06:58PM +0200, Frédéric Point wrote: > Hi, > > When I compile gnash with dmalloc enable I have this error : > > i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. > -I../server -I > /usr/include -I/usr/include/libxml2 -I/usr/include/SDL -I/usr/include/SDL > -DQT_T > HREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include > -I/usr/inclu > de/libxml2 -I/usr/include/SDL -I/usr/include/SDL -O2 -mcpu=i686 -pipe -ansi > -Wal > l -MT utility.lo -MD -MP -MF .deps/utility.Tpo -c utility.cpp -fPIC -DPIC > -o .l > ibs/utility.o > utility.cpp: In function `void dump_memory_stats(const char*, int, const > char*) > ': > utility.cpp:81: error: aggregate `mallinfo mi' has incomplete type and > cannot > be defined Try including "malloc.h", struct mallinfo is defined there --strk; _______________________________________________ Gnash mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash
_______________________________________________ Gnash mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnash
