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

jon707 at kollegiegaarden.dk jon707 at kollegiegaarden.dk
Mon Dec 1 16:50:07 CET 2003


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



JonB


More information about the Kroupware mailing list