[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Problem compiling khtml with Qt3
From:       "Wilco Greven" <j.w.greven () student ! utwente ! nl>
Date:       2001-09-02 17:45:55
[Download RAW message or body]

On Sun, Sep 02, 2001 at 10:33:14AM +0100, Rik Hemsley wrote:
> #if Lubos Lunak
> > inline bool operator!=( LengthType x, LengthType y )
> >     {
> >     return !( x == y );
> >     } 
> > 
> >  Does it work with this function added ? Compiler should first search for an 
> > exact match ( which this one is ), and only then generate a function from 
> > template. And replacing
> 
> Ah, good idea. But it's still a workaround...
> 
> > return type!=o.type || value!=o.value;
> > 
> > with
> > 
> > return !(type==o.type) || !(value==o.value); 
> > 
> > should do too, shouldn't it ? :)
> 
> And that's what I actually did. khtml compiles ok now.

Thank you guys for finding the cause of the problem. Please let me know when the
torturing will take place ;-)

Greetings,
Wilco

> 
> Rik
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic