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


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.

-- Gaby


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