khtml compilation broken

Andreas Pakulat apaku at gmx.de
Sun May 6 15:59:44 CEST 2007


On 06.05.07 14:41:34, Ralf Habacker wrote:
> Andreas Pakulat schrieb:
> > Hi,
> >
> > compilation fails for me in khtml because alloca is not declared. There
> > have been include fixes done in the render_text.cpp but even after
> > re-ading the #include malloc stuff I still can't compile. So there must
> > be something different.
> >
> > Anybody with an idea?
> >   
> on win32 alloca is defined in malloc.h, not in stdlib.h see 
> http://www.pronix.de/pronix-760.html
> 
> may be it would be possible to use the following term in render_text.cpp

Seems good IMHO. I'll commit that.

And I found out why my addition of

#ifdef HAVE_MALLOC_H
...

didn't work, I've put it before the #include <config.h> :(

Andreas

-- 
You are a fluke of the universe; you have no right to be here.



More information about the Kde-windows mailing list