Re: problem with gtk_signal_func and gtkentry() in gtk1.2



when I try to compile this, the following error occurs:
121: void value not ignored as it ought to be

I think this has noting to do with gtk,

I think it means that you are returning
a value from a function returning void 
or something. See example below (I saw this 
gcc messages several times before): ;-)

void function (void)
{
...
return;
}

main ()
{
variable = function (void);
}

Carlos



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