This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RFC: Named warnings
- From: Matt Austern <austern at apple dot com>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: Stan Shebs <shebs at apple dot com>, gcc at gcc dot gnu dot org
- Date: Fri, 24 Jan 2003 12:09:03 -0800
- Subject: Re: RFC: Named warnings
On Thursday, January 23, 2003, at 11:43 PM, Gabriel Dos Reis wrote:
Matt Austern <austern@apple.com> writes:
|
C++
| headers have a lot of code in them, and it's important to be able to
| control warnings for that code without interfering with warnings in
the
| headers' clients.
GCC's -Wsystem-headers turns off warnings in "system headers"
(i.e. any file wih #pragam GCC system in it).
That's a very important start, but don't forget that users who write
generic libraries have many of the same needs. This isn't just for
libstdc++ implementers. It's a more general concern: if I write a
C++ library I need to be able to control warning behavior for my
code without interfering with users of my library.
--Matt