KDE/kdelibs/kjs

Peter Kümmel syntheticpp at gmx.net
Mon Feb 20 15:07:36 CET 2006


Dirk Mueller wrote:
> On Monday, 20. February 2006 14:46, Peter Kümmel wrote:
> 
>>> does it work with MSVC++ if you apply this patch?
>> No, msvc needs the ::.
> 
> does it work if you add the :: to the inheritance declaration and leave it 
> that way at the other places?
> 
I've tested your patches:

namespace KJS
{
    struct C : ::A
    {
        friend A* creator<C>();

        A* getAPtr()
        {
            return creator<C>();
        }

    private:
        C(){}
    };

}

And it only compiles with ::creator<C>();

>> Do you have a link to the defect report?
> 
> Not at hand; I'll have to look it up. 
> 
> 



More information about the Khtml-devel mailing list