[Patch] Memory allocation fixes (was: Re: konqy preloading kills performance)

Dario Massarin nekkar at libero.it
Thu Dec 16 12:18:11 GMT 2004


Thanks for your patch. But here it doesn't compile:

make[1]: Entering directory `/tmp/KDE/kdelibs/khtml'
if /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
-I.-I. -I.. -I../dcop -I../kio/kssl -I../kjs -I../kimgio -I./java -I../dcop 
-I./misc -I./dom -I./xml -I./html -I./css -I../libltdl -I../kio/kssl 
-I../kio/kssl -I../kdeprint -I../interfaces -I../interfaces/kregexpeditor 
-I../kwallet/client -I../kutils -I.. -I../dcop -I../libltdl -I../kdefx 
-I../kdecore -I../kdecore -I../kdeui -I../kio -I../kio/kio -I../kio/kfile 
-I.. -I/usr/qt/3/include -I/usr/X11R6/include -I/usr/kde/3.2/include   
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef 
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion 
-Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new 
-fno-common -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden 
-fvisibility-inlines-hidden  -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST 
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT libkhtml_la.all_cpp.lo 
-MD -MP -MF ".deps/libkhtml_la.all_cpp.Tpo" \
  -c -o libkhtml_la.all_cpp.lo `test -f 'libkhtml_la.all_cpp.cpp' || echo 
'./'`libkhtml_la.all_cpp.cpp; \
then mv -f ".deps/libkhtml_la.all_cpp.Tpo" ".deps/libkhtml_la.all_cpp.Plo"; \
else rm -f ".deps/libkhtml_la.all_cpp.Tpo"; exit 1; \
fi
In file included from khtml_factory.cpp:30,
                 from libkhtml_la.all_cpp.cpp:5:
misc/arena.h:131: error: expected declaration before '}' token
make[1]: *** [libkhtml_la.all_cpp.lo] Error 1
make[1]: Leaving directory `/tmp/KDE/kdelibs/khtml'
make: *** [all-recursive] Error 1

Regards,
	Dario




More information about the kfm-devel mailing list