Why do I get this error?

Ian Reinhart Geiser geiseri at yahoo.com
Sun Nov 10 16:12:22 GMT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 10 November 2002 09:51 am, Tobias Koenig wrote:
> On Sun, Nov 10, 2002 at 09:25:45AM -0500, Ian Reinhart Geiser wrote:
> > Greetings
>
> Hi Ian,
>
> > /usr/local/src/kdelibs/kabc/plugins/ldap/resourceldap.cpp: In method
> > `bool KABC::ResourceLDAP::open()':
> > /usr/local/src/kdelibs/kabc/plugins/ldap/resourceldap.cpp:98: cannot
> > convert `QCString()' from type `QCString' to type `char *'
>
> Does an explicit cast like
>   (char*)mHost.local8Bit()
> or
>   (const char*)mHost.local8Bit()
> help?

This must be a gccism... the (char *) fails with the same error, but the 
(const char *) only gives a warning of discarded qualifiers...

What is the lesser of evils?

Cheers
- -ian reinhart geiser
- -- 
========================================
"Why was I born with such contemporaries?"
		-- Oscar Wilde
========================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9zoVmPy62TRm8dvgRAo/6AJwI8KT1EvbzWcDCjIj4AVzH+0JaPACeMA6z
cC+h09FQJL2s5LRcSm+JI2k=
=Xw3b
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list