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

List:       koffice-devel
Subject:    Re: krita on win32/msvc
From:       Cyrille Berger <cberger () cberger ! net>
Date:       2008-03-20 21:12:54
Message-ID: 200803202212.54972.cberger () cberger ! net
[Download RAW message or body]

Hi,

On Thursday 20 March 2008, Jarosław Staniek wrote:
> Hello
> I've patched fkis_types.h for msvc 2k5 sp1 (we needed explicit declarations
> for classes used in the shared pointer templates).
>
> Now I have the following problem with KisNodeWSP (any ideas?):

Well yes. I suspect some cyclic dependency of headers. kis_paint_device.h call 
kis_type.h .
It's not clear to me, form which cpp file comes the error. But for the sake of 
clarity, I will take an example, lets take kis_image.cc, it tries to includes 
kis_types.h, then kis_types.h includes kis_paint_device.h, which tries to 
include kis_types.h to get the smart pointers, but it doesn't parse anything 
in kis_types.h due to the "#ifndef KISTYPES_H_" protection, so it return to 
kis_paint_device.h without the definition of the smart pointers. That would 
be my explanation of the error.

Now you said that Krita was the last KDE application that doesn't build on 
windows. I do think that kopete also use kdelibs smart pointers (from which 
krita smart pointer are a fork), so how did they solve that cross smart 
pointers definition ?

-- 
Cyrille Berger
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel

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

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