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]

[patch] Disabling fixproto for Darwin?


I'm totally guessing that Darwin has C89 headers rather than K&R headers.

Could a Darwin maintainer please try this patch and see if everything keeps
working?  Or just say "Yes, we have C89 headers"?

Index: config.gcc
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
retrieving revision 1.384
diff -u -r1.384 config.gcc
--- config.gcc	26 Sep 2003 22:13:33 -0000	1.384
+++ config.gcc	27 Sep 2003 09:44:21 -0000
@@ -878,6 +878,7 @@
 	;;
 i[34567]86-*-darwin*)
 	tm_file="${tm_file} i386/darwin.h"
+	use_fixproto=no
 	;;
 i[34567]86-*-elf*)
 	tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h"
@@ -1617,6 +1618,7 @@
 	extra_headers=altivec.h
 	# override ppc default
 	need_64bit_hwint=
+	use_fixproto=no
 	;;
 powerpc*-*-freebsd*)
 	tm_file="${tm_file} dbxelf.h elfos.h ${fbsd_tm_file} rs6000/sysv4.h rs6000/freebsd.h"

-- 
Nathanael Nerode  <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html


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