On Wed, Feb 27, 2008 at 12:35:56PM +0100, Bruno Haible wrote: > Peter O'Gorman wrote: > This is too risky. This approach is very likely to break platforms other > than AIX. >
Sigh. Ok. > We have an <stdarg.h> replacement that works well everywhere except your > particular version of AIX 5.1. The particular problem, as you said in > your first mail, is that <stddef.h> or <stdarg.h> on this system does > a "#undef va_copy". (You said <stddef.h>, but your patch looks like you > meant <stdarg.h>?) Yes, I meant stdarg. > On the AIX 5.1 I have access to, /usr/include/stddef.h > and /usr/include/stdarg.h don't mention va_copy, i.e. don't undef them > either. /usr/vac/include/stdarg.h - the compiler's version. > > Please restrict the effects of your patch to AIX without GNU C. This is > what you are able to test. Ok. Will do this later. Peter