Re: errors - warnings
- From: zucchi zedzone mmc com au (NotZed)
- To: msg124 hotmail com (* *)
- Cc: gnome-list gnome org, gnome-devel-list gnome org, gtk-list redhat com, gtk-app-devel-list redhat com
- Subject: Re: errors - warnings
- Date: Sun, 14 Nov 1999 16:33:18 +1030 (CST)
>
> Hi,
>
> I run a "Progress bar" example program from "Eric Harlow"'s book and i get
> all kind of
> warnings and errors like "warning : return type defaults to int". I use the
That warning just means you haven't supplied a return type in the
function signature, e.g.
main(int argc, char **argv)
instead of
int main(int argc, char **argv)
The warnings can probably safely be ignored, but the functions
should have their return type. If they dont return anything
they should have a return type of "void".
Michael
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]