This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]