Re: kplato compile problem on windows

2011-01-26 Thread Cyrille Berger Skott
On Wednesday 26 January 2011, Jaroslaw Staniek wrote: > is it known that if a was allocated before > b, then a < b? Depends, I guess :) In general it is wrong. Unless if those are elements of an array... >From what I can seen in the code "a==b?0:1" would not be enough, but (char*)a-(char*)b is e

Re: kplato compile problem on windows

2011-01-26 Thread Jaroslaw Staniek
On 26 January 2011 08:46, Pierre Stirnweiss wrote: > Hi Dag, > > sorry to nag you again. I have some questions related to the external (made > internal) dependency for the scheduler (librcps). Was there a reason to copy > the code inside our repository instead of linking to it as an external lib?

Re: kplato compile problem on windows

2011-01-25 Thread Pierre Stirnweiss
Hi Dag, sorry to nag you again. I have some questions related to the external (made internal) dependency for the scheduler (librcps). Was there a reason to copy the code inside our repository instead of linking to it as an external lib? I have a couple of problems with it. The first problem, which

Re: kplato compile problem on windows

2011-01-25 Thread Pierre Stirnweiss
On Mon, Jan 24, 2011 at 3:53 PM, Pierre Stirnweiss < pstirnwe...@googlemail.com> wrote: > On Mon, Jan 24, 2011 at 3:48 PM, Dag Andersen wrote: > >> Mandag 24 januar 2011 14:40:10 skrev du: >> > ok, no stress, i have still plenty of other things to do in setting up >> my >> > development environme

Re: kplato compile problem on windows

2011-01-24 Thread Pierre Stirnweiss
do we have a consensus on one solution over the other? PierreSt On Mon, Jan 24, 2011 at 10:51 AM, Dag Andersen wrote: > Mandag 24 januar 2011 10:37:00 skrev Cyrille Berger Skott: > > On Monday 24 January 2011, Pierre Stirnweiss wrote: > > > I can try the nepomuk solution (using KPLATO_EXPORT on

Re: kplato compile problem on windows

2011-01-24 Thread Dag Andersen
Mandag 24 januar 2011 10:37:00 skrev Cyrille Berger Skott: > On Monday 24 January 2011, Pierre Stirnweiss wrote: > > I can try the nepomuk solution (using KPLATO_EXPORT on each methods of > > the class instead of on the class itself) this evening. This would > > probably be the minimal impact solut

Re: kplato compile problem on windows

2011-01-24 Thread Pierre Stirnweiss
> > > > (Personnally, I would go for Jan's solution and hide the QMap, because I > don't > like to inherits from the containers, but I guess it is a matter of taste > :) ) > > Which wouldn't *need* to add a AppointmentIntervalListBase, would it? Pierre _

Re: kplato compile problem on windows

2011-01-24 Thread Cyrille Berger Skott
On Monday 24 January 2011, Pierre Stirnweiss wrote: > I can try the nepomuk solution (using KPLATO_EXPORT on each methods of the > class instead of on the class itself) this evening. This would probably be > the minimal impact solution. > Just so I am clear, it seems that in nepomuk they have only

Re: kplato compile problem on windows

2011-01-24 Thread Pierre Stirnweiss
But then, would it be possible to instantiate an AppointmentIntervalList from outside? Pierre On Mon, Jan 24, 2011 at 10:28 AM, Pierre Stirnweiss < pstirnwe...@googlemail.com> wrote: > I can try the nepomuk solution (using KPLATO_EXPORT on each methods of the > class instead of on the class itse

Re: kplato compile problem on windows

2011-01-24 Thread Pierre Stirnweiss
I can try the nepomuk solution (using KPLATO_EXPORT on each methods of the class instead of on the class itself) this evening. This would probably be the minimal impact solution. Just so I am clear, it seems that in nepomuk they have only specified NEPOMUK_EXPORT on some of the methods. My assumpti

Re: kplato compile problem on windows

2011-01-24 Thread Dag Andersen
Mandag 24 januar 2011 09:52:23 skrev Jan Hambrecht: > On 24.01.2011 08:57, Pierre Stirnweiss wrote: > > As some of may know, I am trying to get Calligra to compile on Windows > > MSVC2010. I have encountered a couple of problems, which were easy > > enough to solve (with the help of SaroEngels). >

Re: kplato compile problem on windows

2011-01-24 Thread Cyrille Berger Skott
On Monday 24 January 2011, Dag Andersen wrote: > > Any further thought on this? > > Could it be a missing constructor in AppointmentIntervalList? I don't think so. The problem seems more that MSVC get confused with the inheriting of a template that use exported classes. Apparently there was a si

Re: kplato compile problem on windows

2011-01-24 Thread Jan Hambrecht
On 24.01.2011 08:57, Pierre Stirnweiss wrote: > As some of may know, I am trying to get Calligra to compile on Windows > MSVC2010. I have encountered a couple of problems, which were easy > enough to solve (with the help of SaroEngels). > The one I am facing now is apparently way more complicated:

Re: kplato compile problem on windows

2011-01-24 Thread Dag Andersen
Mandag 24 januar 2011 08:57:15 skrev Pierre Stirnweiss: > As some of may know, I am trying to get Calligra to compile on Windows > MSVC2010. I have encountered a couple of problems, which were easy enough > to solve (with the help of SaroEngels). > The one I am facing now is apparently way more com

Re: kplato compile problem on windows

2011-01-24 Thread Pierre Stirnweiss
The functions it is complaining about are the ones from QMap/QMultiMap PierreSt On Mon, Jan 24, 2011 at 9:19 AM, Thorsten Zachmann wrote: > On Monday, January 24, 2011 08:57:15 Pierre Stirnweiss wrote: > > As some of may know, I am trying to get Calligra to compile on Windows > > MSVC2010. I hav

Re: kplato compile problem on windows

2011-01-24 Thread Thorsten Zachmann
On Monday, January 24, 2011 08:57:15 Pierre Stirnweiss wrote: > As some of may know, I am trying to get Calligra to compile on Windows > MSVC2010. I have encountered a couple of problems, which were easy enough > to solve (with the help of SaroEngels). > The one I am facing now is apparently way mo

kplato compile problem on windows

2011-01-23 Thread Pierre Stirnweiss
As some of may know, I am trying to get Calligra to compile on Windows MSVC2010. I have encountered a couple of problems, which were easy enough to solve (with the help of SaroEngels). The one I am facing now is apparently way more complicated: in kplato/libs/kernel/kpappointment.h we have the fol