R
Richard Heathfield
Martin Ambuhl said:
It's bogus, but not incorrect: int main() is indeed an old-style function
definition, and in any case any implementation can issue any diagnostics
it likes.
It's bogus, but not incorrect: int main() is not a prototype, so the
prototype for main (which is not required) is indeed missing, and in any
case any implementation can issue any diagnostics it likes. In this case,
Agreed.
This warning is bogus and incorrect.
It's bogus, but not incorrect: int main() is indeed an old-style function
definition, and in any case any implementation can issue any diagnostics
it likes.
This warning is bogus and incorrect.
It's bogus, but not incorrect: int main() is not a prototype, so the
prototype for main (which is not required) is indeed missing, and in any
case any implementation can issue any diagnostics it likes. In this case,
This warning is bogus and incorrect.
Agreed.
This warning is bogus and incorrect.
Agreed.
Complain to Jacob. His compiler is broken.
Agreed.