7stud
Fascinating reading indeed though the second link only seems to cover void as a return type. I confess, I didn't drill down very far into the first link, but I was under the impression (and I haven't checked this in quite some time) that according to the [C++] standard
int func();
is equivlant to
int func(void);
due to C++'s stronger type-checking (which is one of those little compatibilty breakers with standard C ) and that given that
int main(void)
*is* legal syntax and
int main()
is equivlant, would it not too be legal? hrm....this is why we have linker flags to sepcify entry points