[RFC] __extension__ and warnings

Gabriel Dos Reis gdr@integrable-solutions.net
Wed Dec 11 14:19:00 GMT 2002


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



More information about the Gcc mailing list