[Bug c/80515] __attribute__ ((__noreturn__)) false alarm for 'main'

trippels at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Apr 25 08:14:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80515

--- Comment #3 from Markus Trippelsdorf <trippels at gcc dot gnu.org> ---
(In reply to Marc Glisse from comment #2)
> The implicit "return 0;" is only in C++ IIRC.

No, C99 also has an implicit return 0;.


More information about the Gcc-bugs mailing list