Hello,
On Mon, 19 Apr 2021, Michael Matz wrote:
I'm not sure what "this" refers to here, but we basically need to accept any
of these forms of decls and defs of main:
int main();
int main() { ... }
void main();
void main() { ... }
Gah! And of course also the ones with void (which does declare a
prototype even outside of a function def, then, and hence must match a
definition if there's a separate one):
int main(void);
int main(void) { ... }
void main(void);
void main(void) { ... }
int main(int argc, char *argv[]);
int main(int argc, char *argv[]) { ... }
void main(int argc, char *argv[]);
void main(int argc, char *argv[]) { ... }
Ciao,
Michael.
_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel