Re: guchar -> gchar?



On Wed, 2005-03-08 at 08:50 +0200, Lutz Müller wrote:
> If the change isn't worth it, may I add "(const guchar *)" to
> libgnomeprint (i.e. 
> 
> drivername = gnome_print_config_get (config, 
>   (const guchar *) "Settings.Engine.Backend.Driver");
> 
> ) to libgnomeprint to get rid of the warnings?

I do not see anything wrong with you using these casts in your code to
avoid the warning messages.

Just out of curiosity, what compiler are you using? I do not seem to get
those warnings with 
gcc -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith ...

Andreas
-- 
Andreas J. Guelzow
Taliesin Software, Shelties, Pyr Sheps
and Shetland Sheep

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]