On Tue, 15 Sep 1998, Jon A Mayfield wrote:
> Yes, main should always have a return value, but by specifing void, I'm
> telling the compiler that I don't care what it returns at all, thus many
> compilers most likely will just make it return a zero. Its a
> convienience feature. Either way, more systems will compile and link
> this than not, and of the 5 or 6 compilers/linkers I have, the only one
> that won't link it is the N64 system, which is known to be flakey at
> times anyways.
This is not a compiler problem. You can define any functions you want.
The linker is at fault for linking this as main. As for convenience, you
could easily set up your favorite editor to take care of this if it is too
much of a hassle.
Adam
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]