This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC] __extension__ and warnings
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: gcc at gcc dot gnu dot org
- Date: 11 Dec 2002 23:10:40 +0100
- Subject: Re: [RFC] __extension__ and warnings
- Organization: Integrable Solutions
- References: <20021211215751.GA5481@daikokuya.co.uk>
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