This is the mail archive of the gcc-patches@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]

Re: [patch] New flag -Wsystem-headers


  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


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