S
s0suk3
Not true. Or at least, not reliably true, and therefore not true within
the meaning of the act, yer'onner.
Only correct where _explicitly_ allowed. Not correct everywhere.
Therefore, not correct when used in a general context (which, evidence
to the contrary lacking, any c.l.c post must be assumed to be).
But this is not my main point. That's this:
Suppose the OP had not written void main(void), but
union return_tuple main(struct env, char* __cmd_line__, bool intactv)
and Keith had responded to that with the same correction he wrote above,
would you even have considered bothering to respond? My money's on "no".
The contingent of M$-and-Ganoo-lovers who defend void main() almost
always are willing to defend _only_ void main(), and not any other
implementation-defined, non-standard form of main().
So why this discrimination? It can't be that you seriously believe that
void main() is correct, and other non-standard main()s are not. That
would be too dumb even for a Ganoohead.
Well, unlike some people here, I do usually take common sense into
account, so I would certainly have wondered about the purpose of
main() returning a union. But I think I would've pointed it out
anyway, because I don't say that void main(void) is correct because
MSVC allows it, but because the C99 standard allows it.
Sebastian