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]

Re: -Wold-style-cast and system headers


  In message <199907061658.JAA06246@atrus.synopsys.com>you write:
  > > fixincludes is meant to deal with bugs in the system header files that
  > > prevent gcc from properly compiling code.  fixincludes is not meant to 
  > > fix bugs which cause warnings.
  > 
  > It's appropriate to attempt to fix warnings that everyone will get
  > (warnings enabled by default) and possibly -Wall warnings. 
Sorry to disagree with you Joe, but no, this is not something we want to
do.  It's an enormous can of worms.

Fixincludes should do as little as possible to make the system header files
work correctly with gcc, no more, no less.

  > warnings.  The risk of tampering with a system include file starts to
  > exceed the benefit.
Having spent weeks looking at system header files & fixinc recently I would
say we are already at that point.

jeff


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