[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Fwd: compilation of koffice's karbon breaks
From:       Nicolas Goutte <nicog () snafu ! de>
Date:       2002-11-30 17:55:03
[Download RAW message or body]

I am not sure, but could you try breaking the line in two:
	KoRect korect = KoRect::fromQRect( rect );
	m_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 same
> 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 <a_sturm@naimasoft.com>
> 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 = vcanvas.cc, Line = 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? The
> 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=
> =R/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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic