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 for PR c/85 (-Wcast-qual pedwarn)



  In message <Pine.SOL.4.21.0007302304230.6958-100000@orange.csi.cam.ac.uk>you 
write:
  > This patch fixes PR c/85: the -Wcast-qual warning for casts discarding
  > qualifiers should not become an error with -pedantic-errors.  (The
  > similar warning for assignments, however, does correctly become an
  > error with -pedantic-errors; discarding qualifiers needs an explicit
  > cast.)
  > 
  > Bootstrapped with no regressions on i686-pc-linux-gnu.
  > 
  > 2000-07-30  Joseph S. Myers  <jsm28@cam.ac.uk>
  > 
  > 	* c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
  > 	discarding qualifiers into a plain warning.
Thanks.  Installed.
jeff


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