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

List:       kde-core-devel
Subject:    Re: Problem compiling khtml with Qt3
From:       Rik Hemsley <rik () kde ! org>
Date:       2001-09-02 9:33:14
[Download RAW message or body]

#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.

Rik

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

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