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: egcs, warning patch for some libiberty files ...




  In message <199810151451.KAA11893@caip.rutgers.edu>you write:
  > 	Some of the libiberty files are linked to from the gcc dir and
  > compiled with -W -Wall.  This patch cleans up those wanrings. 
  > 
  > 	Okay to install?
  > 
  > 		--Kaveh
  > 
  > 
  > 
  > Thu Oct 15 00:12:45 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
  > 
  > 	* choose-temp.c: Prototype mkstemps() when IN_GCC.
  > 
  > 	* cplus-dem.c (consume_count): Cast argument of ctype macro to
  > 	`unsigned char'.
  > 	(cplus_demangle_opname): Cast the result of `strlen' to (int) when
  > 	comparing against one.
  > 	(cplus_mangle_opname): Likewise.
  > 	(demangle_integral_value): Cast argument of ctype macro to
  > 	`unsigned char'.
  > 	(demangle_template_value_parm): Likewise.
  > 	(demangle_template): Initialize variable `bindex'.  Cast the
  > 	result of `strlen' to (int) when comparing against one.  Remove
  > 	unused variable `start_of_value_parm'.
  > 	(demangle_class_name): Cast the result of `strlen' to (int) when
  > 	comparing against one.
  > 	(demangle_prefix): Cast argument of ctype macro to `unsigned char'.
  > 	(gnu_special): Likewise.  Cast the result of `strlen' to (int)
  > 	when comparing against one.
  > 	(demangle_qualified): Cast argument of ctype macro to `unsigned char'.
  > 	(get_count): Likewise.
  > 	(do_type): Likewise.  Cast the result of `strlen' to (int) when
  > 	comparing against one.
  > 	(demangle_fund_type): Cast argument of ctype macro to `unsigned char'.
  > 	(demangle_function_name): Cast the result of `strlen' to (int)
  > 	when comparing against one.
  > 
  > 	* mkstemp.c (mkstemps): Cast variable `len' to (int) when
  > 	comparing against one.
Looks good.  Thanks!

Please install this patch.
jeff


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