This is the mail archive of the gcc@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: [RFC] __extension__ and warnings




--On Wednesday, December 11, 2002 11:10:40 PM +0100 Gabriel Dos Reis <gdr@integrable-solutions.net> wrote:

Neil Booth <neil@daikokuya.co.uk> writes:

[...]

| I propose a simpler solution: simply do not emit any pedwarns whilst
inside | the code affected by __extension__.  This is easy to implement
inside | pedwarn() itself.
|
| With this, I can clear up some confused and confusing warning logic,
and fix | its interaction with cpplib's number interpreter.  Thoughts?

At first sight, I would say that sounds reasonable.  I reserve my
comments for the concrete patch.
It sounds plausible to me as well.

--
Mark Mitchell                mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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