At 04:45 PM 8/10/99 , Mate Wierdl wrote:
>When I compile any of the djb software on my RedHat 6.0 system
>(glibc2, egcs-1.1.2), I get warnings like
>
>instcheck.c: In function `main':
>instcheck.c:103: warning: return type of `main' is not `int' 
>
>Is there a particular reason why these warnings started to come up?
>
>Thx
>
>Mate
>---
>Mate Wierdl | Dept. of Math. Sciences | University of Memphis  

        This is a warning that gcc issues.  It usually happens when main is
declared as returning void (nothing).  Most programs usually exit with a
status code that gets returned to your shell.  This is used so you can test
the return value in shell scripts and such.  This isn't a big problem...

                                                                        -Dustin

Reply via email to