This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] New flag -Wsystem-headers
- To: branko dot cibej at hermes dot si
- Subject: Re: [patch] New flag -Wsystem-headers
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Mon, 11 Sep 2000 10:53:59 -0600
- cc: gcc-patches at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
In message <39BBC57F.DCBD341@hermes.si>you write:
> This is a multi-part message in MIME format.
> 2000-09-10 Branko Cibej <branko.cibej@hermes.si>
>
> * flags.h: Declare warning flag warn_system_headers.
> * toplev.c: Define it.
> (W_options): Add warning -Wsystem-headers.
> * diagnostic.c (count_errors): Test warn_system_headers.
>
> * cpplib.h (cpp_options): New member warn_system_headers.
> * cpperror.c (_cpp_begin_message): Test warn_system_headers.
> * cppinit.c (handle_option): Recognize -Wsystem-headers.
> (print_help): Describe -Wsystem-headers.
Basically OK. I think you need to update invoke.texi though. Can you
resubmit with the appropriate updates to invoke.texi?
Thanks,
Jeff