__builtin_va_list and earlier releases

Martin von Loewis loewis@informatik.hu-berlin.de
Fri Nov 5 04:13:00 GMT 1999


The current GCC puts, on sparc-sun-solaris2.5.1, the following line
into _G_config.h.

typedef __builtin_va_list _G_va_list;

This causes a problem, if a egcs 1.1 installation uses the same
_G_config.h. In that case, this line should read

typedef void* _G_va_list;

So I believe definition of _G_va_list should be conditional on the
compiler version.

Regards,
Martin


More information about the Gcc-bugs mailing list