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 PATCH] Diagnose predefined identifiers in pedantic mode


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


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