On Tue, Jan 04, 2000 at 10:38:21AM +0900, Kristina wrote:
> 
> 
> 
> When I compile qmail-1.03 on Solaris 7 the following error is produced throu
> ghout
> the compile for all *.c files.  In the end, qmail compiles okay so I am wond
> ering if
> the following is something I should be worried about?
> 
> qmail-local.c:448: warning: return type of `main' is not `int'
> 

Hi,

Technically it's a bug.  main() should always return int, never void or
anything else, according standard C.  I always just assumed Dan was
trying to make a statement of some kind as he certainly wouldn't have done
this by mistake.  :)

Anyway, it shouldn't actually affect anything, you can just ignore it.


Chris

Reply via email to