I am not sure, but could you try breaking the line in two: =09KoRect korect =3D KoRect::fromQRect( rect ); =09m_part->document().draw( p, &korect ); I suspect your compiler to not like the &KoRect stuff. Have a nice day/evening/night! On Saturday 30 November 2002 15:45, Nicolas Goutte wrote: > I am forwarding this message from KDE Core Devel. > > The reporter (please CC him) now uses KOFFICE_1_2_BRANCH but with the s= ame > result. Please note that it is not on Linux and it is not with GCC. > > Have a nice day/evening/night! > > --- Forwarded Message --- > List: kde-core-devel > Subject: compilation of koffice's karbon breaks > From: Andreas Sturm > Date: 2002-11-29 23:55:42 > [Download message RAW] > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi! > > I am compiling koffice 1.2 for kde 3.0.5 at the moment. The compile run > breaks at karbon/core/vcanvas.cc: > > cc-1152 CC: ERROR File =3D vcanvas.cc, Line =3D 222 > Expression must be an lvalue or a function designator. > > m_part->document().draw( p, &KoRect::fromQRect( rect ) = ); > ^ > > 1 error detected in the compilation of "vcanvas.cc". > > What does that mean and have you any hint to make the compiler happy? T= he > platform is IRIX 6.5.18 with MIPSpro compiler 7.3.1.3m. > Thanks again for any help! > > Andy > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.7 (IRIX64) > > iD8DBQE95/6DWZhxXlcCT4ERAuVJAJ9reOEXXGRTDAr+G2+4ydI2UvU69gCbBnae > HIwMMZvjGPdZdVPAqpB5MRo=3D > =3DR/d4 > -----END PGP SIGNATURE----- > > _______________________________________________ > koffice-devel mailing list > koffice-devel@mail.kde.org > http://mail.kde.org/mailman/listinfo/koffice-devel _______________________________________________ koffice-devel mailing list koffice-devel@mail.kde.org http://mail.kde.org/mailman/listinfo/koffice-devel