public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs-971215 mips-sgi-irix6.2, minor bootstrap failure + patch
@ 1997-12-18 14:14 Kaveh R. Ghazi
  0 siblings, 0 replies; only message in thread
From: Kaveh R. Ghazi @ 1997-12-18 14:14 UTC (permalink / raw)
  To: egcs; +Cc: law

	When bootstrapping egcs-971215 on mips-sgi-irix6.2 using cc for
stage1, I get the following error:

 > cc -c -DIN_GCC -g -DHAVE_CONFIG_H -I. -I. -I./config
 > 	./config/mips/mips.c
 > cfe: Error: ./tree.h, line 2054: prototype and non-prototype
 > 	declaration found for fatal, ellipsis terminator not allowed
 >  extern void fatal			(char *, ...) ;
 >  -----------------			---------^
 > cfe: Error: ./config/mips/mips.c, line 82: redeclaration of 'fatal';
 > 	previous declaration at line 2054 in file './tree.h'
 >  extern void   fatal ();
 >  --------------^
 > make-6.2[2]: *** [mips.o] Error 1

	I fixed this problem with the following patch:


Thu Dec 18 17:05:10 1997  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
 
        * config/mips/mips.c: Remove conflicting (argument-less) prototype
	of fatal(), rely on the one from tree.h.
 


--- gcc/config/mips/mips.c~	Sat Dec  6 19:29:51 1997
+++ gcc/config/mips/mips.c	Thu Dec 18 16:51:40 1997
@@ -79,7 +79,6 @@
 extern rtx    adj_offsettable_operand ();
 extern rtx    copy_to_reg ();
 extern void   error ();
-extern void   fatal ();
 extern tree   lookup_name ();
 extern void   pfatal_with_name ();
 extern void   warning ();
--
Kaveh R. Ghazi			Project Manager / Custom Development
ghazi@caip.rutgers.edu		ICon CMT Corp.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-12-18 14:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-18 14:14 egcs-971215 mips-sgi-irix6.2, minor bootstrap failure + patch Kaveh R. Ghazi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).