[Kroupware] compilation of kdenetwork-kroupware-1.0.x

Bo Thorsen bo at sonofthor.dk
Tue Dec 2 10:08:33 CET 2003


On Monday 01 December 2003 16:50, jon707 at kollegiegaarden.dk wrote:
> On Mon, Dec 01, 2003 at 09:12:50PM +0000, Scott Newton wrote:
> > On Sunday, 30 Nov 2003 18:30, jon707 at kollegiegaarden.dk wrote:
> > > kmfolder.cpp: I member function 'virtual void
> > > KMFolder::readConfig()': kmfolder.cpp:1345: error: illegal
> > > converstion from 'int' to 'KMFolder::FolderContents' make[3]: ***
> > > [kmfolder.o] error 1 make[3]: Leaving directory
> > > /usr/src/kolab/kdenetwork-kroupware-1.0.1/kmail' make[2]: ***
> > > [all-recursive] error 1
> > > make[2]: Leaving directory
> > > /usr/src/kolab/kdenetwork-kroupware-1.0.1/kmail' make[1]: ***
> > > [all-recursive] error 1
> > > make[1]: Leaving directory
> > > /usr/src/kolab/kdenetwork-kroupware-1.0.1' make: *** [all] error 2
> >
> > I fixed this by changing:
> > mFolderContents = config->readNumEntry( "FolderContents",
> > (int)Messages ); to
> > mFolderContents = (FolderContents)config->readNumEntry(
> > "FolderContents", (int)Messages );
> >
> > Maybe not the best solution but it seems to work fine.
> > This was on Mandrake 9.2, gcc (GCC) 3.3.1 (Mandrake Linux 9.2
> > 3.3.1-2mdk)
>
> It compiled...

Yes, I now figured out my confusion here. This fix was already checked 
into cvs, so it built fine here.

I'm releasing 1.0.2 today, and among the fixes is this compile fix.

Thanks for the heads-up.

Bo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://mail.kde.org/pipermail/kroupware/attachments/20031202/291c2c44/attachment-0001.pgp


More information about the Kroupware mailing list