[Bug c/57672] New: va_list fixinclude needed for AIX 5.3 sys/types.h
chasonr at newsguy dot com
gcc-bugzilla@gcc.gnu.org
Fri Jun 21 19:05:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57672
Bug ID: 57672
Summary: va_list fixinclude needed for AIX 5.3 sys/types.h
Product: gcc
Version: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: chasonr at newsguy dot com
On AIX 5.3, the system file /usr/include/sys/types.h contains this declaration:
#ifndef _VA_LIST
#define _VA_LIST
typedef char * va_list;
#endif
This conflicts with the fixincluded va_list in stdarg.h. va_list needs to be
declared as __builtin_va_list.
GCC 4.8.1 already performs other fixincludes for sys/types.h.
More information about the Gcc-bugs
mailing list