Why do I get this error?

Ian Reinhart Geiser geiseri at yahoo.com
Sun Nov 10 16:56:50 GMT 2002


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

On Sunday 10 November 2002 11:47 am, Dirk Mueller wrote:
> On Son, 10 Nov 2002, Waldo Bastian wrote:
> > QCString can be cast to const char* but not to char *. You probably need:
> >   const_cast<char*>(mHost.local8Bit().data());
>
> Euhm, QCString::data() returns char* not const char*
Thats exactly what I needed... why mHost.local8Bit() worked on PPC64 and IA32 
with GCC 2.95.3 and failed on solaris is beyond me, but it works now...

Patch will be ready when CVS is up :)
- -ian reinhart geiser
- -- 
========================================
"I know not with what weapons World War III will be fought, but World
War IV will be fought with sticks and stones."
		-- Albert Einstein
========================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9zo/SPy62TRm8dvgRAuMmAJ0Xm3XgIvS6oF8bXSj5stFw6SjDGgCeMY3k
3wHcaxX0hixK7sOhNsXoARQ=
=nlkP
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list