[Bug c/53232] No warning for main() without a return statement with -std=c99

manu at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri May 4 13:44:00 GMT 2012


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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu.org

--- Comment #1 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-05-04 13:44:02 UTC ---
Neither -Wmain warns about this... I think it is a bug, at least in the case of
-Wmain.



More information about the Gcc-bugs mailing list