egcs/libiberty ChangeLog argv.c choose-temp.c ...

ghazi@cygnus.com ghazi@cygnus.com
Tue Dec 22 06:57:00 GMT 1998


CVSROOT:	/egcs/carton/cvsfiles
Module name:	egcs
Changes by:	ghazi@egcs.cygnus.com	98/12/22 06:57:19

Modified files:
	libiberty      : ChangeLog argv.c choose-temp.c cplus-dem.c 
	                 floatformat.c fnmatch.c objalloc.c 

Log message:
	Warning fixes:
	
	* argv.c (buildargv): Cast the result of alloca in assignment.
	
	* choose-temp.c: Include stdlib.h.
	
	* cplus-dem.c (demangle_arm_pt): Remove unused prototype.
	(snarf_numeric_literal): Constify first parameter.
	(code_for_qualifier): Avoid a gcc extension, make the parameter an
	int, not a char.
	(demangle_qualifier): Likewise.
	(demangle_signature): Cast the argument of a ctype function to
	unsigned char.
	(arm_pt): Add parens around assignment used as truth value.
	(demangle_arm_hp_template): Constify variable `args'.
	(do_hpacc_template_const_value): Cast the argument of a ctype
	function to unsigned char.
	(do_hpacc_template_literal): Remove unused variable `i'.
	(snarf_numeric_literal): Constify parameter `args'.
	Cast the argument of a ctype function to unsigned char.
	
	* floatformat.c (floatformat_to_double): Add explicit braces to
	avoid ambiguous `else'.
	
	* fnmatch.c (fnmatch): Change type of variables `c', `c1',
	`cstart' and `cend' to unsigned char.  Cast the argument of macro
	`FOLD', which uses ctype functions, to unsigned char.
	
	* objalloc.c (free): Add prototype.




More information about the Gcc-cvs mailing list