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]
Other format: [Raw text]

Re: irix bootstrap failure (pehaps Target-dependent modes (1.5+2/3)slightly revised, committed?)


"Billinghurst, David (CALCRTS)" <david.billinghurst@comalco.riotinto.com.au> writes:

> /disk4/billingd/src/gcc/gcc/config/mips/mips-modes.def:23: warning: passing arg 4 of `reset_float_format' makes pointer from integer without a cast
> /disk4/billingd/src/gcc/gcc/config/mips/mips-modes.def:24: warning: passing arg 4 of `reset_float_format' makes pointer from integer without a cast
> make[2]: *** [genmodes.o] Error 1

Aaargh.  Please try the appended patch.

zw

        * genmodes.c (reset_float_format): Correct type of fourth argument.

===================================================================
Index: genmodes.c
--- genmodes.c	13 Oct 2003 21:16:18 -0000	1.3
+++ genmodes.c	15 Oct 2003 04:44:56 -0000
@@ -451,7 +451,7 @@ make_float_mode (const char *name,
   reset_float_format (#N, #F, __FILE__, __LINE__)
 static void ATTRIBUTE_UNUSED
 reset_float_format (const char *name, const char *format,
-		    const char *file, const char *line)
+		    const char *file, unsigned int line)
 {
   struct mode_data *m = find_mode (MODE_FLOAT, name);
   if (!m)


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