This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C PATCH] Diagnose predefined identifiers in pedantic mode
- From: Dodji Seketeli <dodji at seketeli dot org>
- To: Marek Polacek <polacek at redhat dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, "Joseph S. Myers" <joseph at codesourcery dot com>
- Date: Tue, 12 Aug 2014 11:14:36 +0200
- Subject: Re: [C PATCH] Diagnose predefined identifiers in pedantic mode
- Authentication-results: sourceware.org; auth=none
- References: <20140810151626 dot GZ24292 at redhat dot com> <86tx5i9qqc dot fsf at seketeli dot org> <20140812064533 dot GF2436 at redhat dot com>
Marek Polacek <polacek@redhat.com> a Ãcrit:
> Thise testcases use predefined identifiers, and without the
> dg-options, they would compile with -ansi -pedantic-errors and fail.
> Setting dg-options to "" makes the -ansi -pedantic-errors go away.
> Setting it to e.g. -std=gnu99 would work as well.
Oh, I see. Thanks.
Maybe a comment there would be helpful then :-)
Thanks.
--
Dodji