Removing warning from KDE-ICE

Oswald Buddenhagen ossi at kde.org
Wed Jun 2 21:56:27 BST 2004


On Wed, Jun 02, 2004 at 03:11:42PM -0400, Zack Rusin wrote:
> -	    _protocol = "local";
> +	    _protocol = (char*)"local";
>
errm, how about making _protocol (and all the other variables &
parameters) const char * instead? otherwise you can just as well add
-Wno-write-strings to the gcc command line ...

greetings

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Chaos, panic, and disorder - my work here is done.




More information about the kde-core-devel mailing list