This is the mail archive of the gcc-patches@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]

Re: [c++] PR 30551 -pedantic does not include -Wmain, but -pedantic-errors does make -Wmain cause error messages


Manuel López-Ibáñez wrote:

cp/
 * decl.c (grokfndecl): Call check_main_parameters_type only if -Wmain.

testsuite/
 * g++.dg/warn/pr30551.C: New.
 * g++.dg/warn/pr30551-2.C: New.

OK.


--
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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