Re: problem with gtk_signal_func and gtkentry() in gtk1.2
- From: Carlos Pereira <carlos pehoe civil ist utl pt>
- To: gtk-app-devel-list gnome org
- Subject: Re: problem with gtk_signal_func and gtkentry() in gtk1.2
- Date: Fri, 10 May 2002 14:45:04 +0100
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]