[Kroupware] compilation of kdenetwork-kroupware-1.0.x
Scott Newton
scottn at ihug.co.nz
Mon Dec 1 22:12:50 CET 2003
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)
--
Regards
Scott Newton
More information about the Kroupware
mailing list