[Bug c++/52003] warning about (un)existing return statement in the main function declared 'noreturn'

gnumaurorusso at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Jan 27 06:43:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52003

--- Comment #4 from mauro <gnumaurorusso at gmail dot com> 2012-01-27 00:27:43 UTC ---
(In reply to comment #2)
> main has an implicit return 0 if it follows through to the end according to the
> C++ standard IIRC.

Ok, I thought it was something like that.
Thanks for answer.



More information about the Gcc-bugs mailing list