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: 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


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