Re: Newbie question



Alessio Zanon wrote:

Thanks Leandro, now it works!

Just got following warning from compiler:

"assignment discards qualifiers from pointer target
type"

on line:

 msg = gtk_entry_get_text(GTK_ENTRY(display));

What does it mean???
it means that `msg' was declared as `const [something] * msg;'
and now that you are assigning something to it, the compiler must
discard `const'.

Thats my guess.

Cheers,
                                           -Tristan




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