This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PR 30551 -pedantic does not include -Wmain, but -pedantic-errors does make -Wmain cause error messages
2008/8/14 Andrew Pinski <pinskia@gmail.com>:
> On Wed, Aug 6, 2008 at 3:54 PM, Manuel López-Ibáñez
> <lopezibanez@gmail.com> wrote:
>> testsuite/
>> * doc/invoke.texi (Wmain): Update.
>> * gcc.dg/pr30551.c: New.
>> * gcc.dg/pr30551-2.c: New.
>> * gcc.dg/pr30551-3.c: New.
>> * gcc.dg/pr30551-4.c: New.
>> * gcc.dg/pr30551-5.c: New.
>> * gcc.dg/pr30551-6.c: New.
>> * gcc.dg/tree-ssa/reassoc-3.c: Don't compile with -pedantic-errors.
>> * g++.dg/warn/pr30551.C: New.
>> * g++.dg/warn/pr30551-2.C: New.
>
> All these testcases fail on spu-elf as -Wmain is off by default as
> spu-elf's main is usually has different arguments than the "standard"
> defined main.
Also with -pedantic?
pr30551-[45].c are testing -Wno-main. pr30551-2.c tests that it is
disabled by default.
Are they also failing? How? I don't have access to spu.
Cheers,
Manuel.