This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r105960 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
- From: pinskia at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 28 Oct 2005 20:25:56 -0000
- Subject: r105960 - in /trunk/gcc: cp/ChangeLog cp/decl.c...
Author: pinskia
Date: Fri Oct 28 20:25:55 2005
New Revision: 105960
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=105960
Log:
2005-10-28 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/23229
* decl.c (grokfndecl): Create a new function type
after erroring out about main not returning int.
2005-10-28 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/23229
* g++.dg/warn/main-2.C: New test.
Added:
trunk/gcc/testsuite/g++.dg/warn/main-2.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/ChangeLog