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]

Warning elimination patches in cp/call.c



While compiling cp/call.c I get many warnings like:
call.c:3344: warning: enumeration value `NOT_BUILT_IN' not handled in
switch.
The following patch silences these warnings.

Peter  Schmid

Mon Mar  9 21:10:13 1998  Peter Schmid  <schmid@ltoi.iap.physik.tu-darmstadt.de>

	* call.c: (build_over_call) Add default case in enumeration switch

*** gcc/cp/call.c~	Mon Mar  9 11:31:33 1998
--- gcc/cp/call.c	Mon Mar  9 21:05:35 1998
*************** build_over_call (fn, convs, args, flags)
*** 3341,3346 ****
--- 3341,3350 ----
  	if (converted_args == 0)
  	  return integer_zero_node;
  	return build_unary_op (ABS_EXPR, TREE_VALUE (converted_args), 0);
+       
+       default:
+         break;
+               
        }
  
    fn = build_call (fn, TREE_TYPE (TREE_TYPE (TREE_TYPE (fn))), converted_args);




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