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: [committed] fixincludes: less va_list rewriting


On Friday, October 29, 2004, at 11:24 AM, Zack Weinberg wrote:
At Thu, 28 Oct 2004 19:48:22 -0700,
Mike Stump wrote:

We can avoid rewriting va_list, if the file included <stdarg.h> or if there is some other form of protection.

This is wrong, or at least, too simplistic.

I've backed out the change.


Let's start again...

Below is a change to fixincludes that splits out the clients from the stdio.h change, and only on the clients, includes two bypasses that occur on darwin.

Tested on darwin. Would be good if someone can test on HP-UX 11.11 or the system that motivated:

2004-08-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>

* fixinc/inclhack.def (stdio_va_list): Also fix com_err.h, cps.h,
curses.h, krb5.h, lc_core.h, pfmt.h, wchar.h and curses_colr/curses.h.


Ok?

Attachment: fixinc-1a.diffs.txt
Description: Text document


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