va_list definition in va-alpha.h

=?koi8-r?Q?=E7=CF=CC=D5=C2=C5=D7_=E9=CC=D8=D1_=EE?=. gin@mo.msk.ru
Thu Oct 14 06:51:00 GMT 1999


Version: 2.95.1
System: alpha-dec-osf4.0*

va_list is multiply defined in headers that are generated by gcc:
va_list.h and va-alpha.h.  This causes errors on every compiler input
that includes <va_list.h>.  va_list.h sets and checks _VA_LIST
preprocessor flags on defining va_list typedef.  va-alpha.h only sets
it, but does not check.

My fix: add `#ifndef _VA_LIST ... #endif' to va_list definition in
gcc/gcc/ginclude/va-alpha.h.


More information about the Gcc-bugs mailing list