This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] RFC PR 30915: fixincludes update for gentoo
- From: Steven Newbury <s_j_newbury at yahoo dot co dot uk>
- To: pinskia at gcc dot gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 19 Aug 2007 23:29:21 +0100 (BST)
- Subject: [PATCH] RFC PR 30915: fixincludes update for gentoo
I have attached this patch to the bugzilla entry:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30915 but since it is marked
invalid nothing is going to happen about it. Is it OK?
diff -urN fixincludes.orig/inclhack.def fixincludes/inclhack.def
--- fixincludes.orig/inclhack.def 2007-07-26 00:51:47.000000000 +0100
+++ fixincludes/inclhack.def 2007-08-08 00:18:06.129542000 +0100
@@ -3457,12 +3457,12 @@
/*
* Arrange for stdio.h to use stdarg.h to define __gnuc_va_list.
* On 4BSD-derived systems, stdio.h defers to machine/ansi.h; that's
- * OK too.
+ * OK too. Gentoo multilib uses a wrapper for stdio.h; skip it.
*/
fix = {
hackname = stdio_stdarg_h;
files = stdio.h;
- bypass = "include.*(stdarg\.h|machine/ansi\.h)";
+ bypass = "include.*(stdarg\.h|machine/ansi\.h)|gentoo-multilib";
/*
* On Solaris 10, this fix is unncessary; <stdio.h> includes
* <iso/stdio_iso.h>, which includes <sys/va_list.h>.
___________________________________________________________
Yahoo! Answers - Got a question? Someone out there knows the answer. Try it
now.
http://uk.answers.yahoo.com/