Mate Wierdl writes:

> 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?

RH 6.0 compiles with egcs by default.  RH 5.2 and earlier used gcc.  egcs
tends to be paranoid about stuff that gcc has no problems with.

I'm not sure about this one, whether it's right or wrong, but when I code
something, I just do it the egcs way just to shut it up.

-- 
Sam

Reply via email to