c/6198: reaching end of main() should cause return with 0
jsm28@gcc.gnu.org
jsm28@gcc.gnu.org
Sat Apr 6 00:26:00 GMT 2002
Synopsis: reaching end of main() should cause return with 0
State-Changed-From-To: open->closed
State-Changed-By: jsm28
State-Changed-When: Fri Apr 5 23:16:27 2002
State-Changed-Why:
GCC does this in C99 mode. If you are using the
compilation command defined by the Single Unix
Specification, c99, it should pass an appropriate -std
option to gcc (it's at present for distributors to
provide such a script, GCC doesn't itself); other
compilation commands are not in that specification.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6198
More information about the Gcc-bugs
mailing list