Re: errors - warnings



> From: "* *" <msg124@hotmail.com>
> 
> 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 
> following to compile:
> 
> gcc -Wall -g example.c -o example `gtk-config --cflags --libs`. I am not 
> sure what is wrong?.
> I have checked everything several times and I do not see any differences.
> I run radhat.
> 
> thanks for your hints and helps in advance.
> 
> msg124@hotmail.com

First, I am almost certain cross-posting to multiple lists is
discouraged.

What are the specifics of your system (OS, version, etc.)?  On my
Linux box gtk/gnome programs compile fine, but at work on a Sun
Solaris box, I get all kinds of warnings like the above.  I suspect
something must be different in Sun's X include files, but haven't
looked into it since they are just warnings and the programs compile
and run fine.

Dave



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